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–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/platform-webworker/index/ServiceMessageBrokerFactory-class.html