W3cubDocs

/Angular 2

ClientMessageBrokerFactory

Experimental Class

Class Overview

class ClientMessageBrokerFactory {
  createMessageBroker(channel: string, runInZone?: boolean) : ClientMessageBroker
}

Class Description

Class Details

createMessageBroker(channel: string, runInZone?: boolean) : ClientMessageBroker

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

exported from @angular/platform-webworker/index, defined in @angular/platform-webworker/src/web_workers/shared/client_message_broker.ts

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/platform-webworker/index/ClientMessageBrokerFactory-class.html