ServiceMessageBrokerFactory

class experimental

npm Package @angular/platform-webworker
Module import { ServiceMessageBrokerFactory } from '@angular/platform-webworker';
Source platform-webworker/src/web_workers/shared/service_message_broker.ts

Overview

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

Members

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

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

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