ServerTransferStateModule

NgModule to install on the server side while using the TransferState to transfer state from server to client.

      
      class ServerTransferStateModule {
}
    

提供商

提供商
      
      TransferState
    
{ provide: BEFORE_APP_SERIALIZED, useFactory: serializeTransferStateFactory, deps: [DOCUMENT, APP_ID, TransferState], multi: true }
      
      {
    provide: BEFORE_APP_SERIALIZED,
    useFactory: serializeTransferStateFactory,
    deps: [DOCUMENT, APP_ID, TransferState],
    multi: true
}