Credit to devdocs.io

angular 2.0_typescript

angular

ServiceMessageBrokerFactory

Experimental Class

Class Overview

class ServiceMessageBrokerFactory {
  createMessageBroker(channel: string, runInZone?: boolean) : ServiceMessageBroker
}

Class Description

Class Details

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

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

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

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