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