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

ClientMessageBrokerFactory

      
      interface ClientMessageBrokerFactory {
  createMessageBroker(channel: string, runInZone: boolean = true): ClientMessageBroker
}
    

Methods

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

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

Optional. Default is true.

Returns

ClientMessageBroker