填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

ClientMessageBrokerFactory

已弃用: platform-webworker is deprecated in Angular and will be removed in a future version of Angular

      
      interface ClientMessageBrokerFactory {
  createMessageBroker(channel: string, runInZone: boolean = true): ClientMessageBroker
}
    

方法

Initializes the given channel and attaches a new ClientMessageBrokerto it.

createMessageBroker(channel: string, runInZone: boolean = true): ClientMessageBroker
      
      createMessageBroker(channel: string, runInZone: boolean = true): ClientMessageBroker
    
参数
channel string
runInZone boolean

可选. 默认值是 true.

返回值

ClientMessageBroker