ClientMessageBrokerFactory

interface deprecated

Deprecated: platform-webworker is deprecated in Angular and will be removed in version 10

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

Methods

Initializes the given channel and attaches a new ClientMessageBroker to it.

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

Parameters
channel string
runInZone boolean

Optional. Default is true.

Returns

ClientMessageBroker

© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v8.angular.io/api/platform-webworker/ClientMessageBrokerFactory