You will need to create your own Connection and ConnectionBackend classes that will be implemented when the application loads. See code example below.
export class XHRSynchronousConnection implements Connection { } export class XHRSynchronousConnectionBackend implements ConnectionBackend { }
You can download it as follows
bootstrap([provide(ConnectionBackend, {useClass:XHRSynchronousBackend}), provide(Connection,{useClass:XHRSynchronousConnection}];
You can see the rest of the code in the actual source code .
source share