mode_edit codeAPI / @angular/platform-webworkerServiceMessageBrokerFactorylinkinterface 试验性的interface ServiceMessageBrokerFactory { createMessageBroker(channel: string, runInZone: boolean = true): ServiceMessageBroker }方法linkcreateMessageBroker() linkmode_edit codeInitializes the given channel and attaches a new ServiceMessageBrokerto it.createMessageBroker(channel: string, runInZone: boolean = true): ServiceMessageBroker参数channelType: string.runInZoneType: boolean.可选. 默认值是 true.返回值ServiceMessageBroker