Help Angular by taking a 1 minute survey!Go to surveyHome

ServiceMessageBrokerFactory

      
      interface ServiceMessageBrokerFactory {
  createMessageBroker(channel: string, runInZone: boolean = true): ServiceMessageBroker
}
    

Methods

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

createMessageBroker(channel: string, runInZone: boolean = true): ServiceMessageBroker
      
      createMessageBroker(channel: string, runInZone: boolean = true): ServiceMessageBroker
    
Parameters
channel string
runInZone boolean

Optional. Default is true.

Returns

ServiceMessageBroker