Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Channel

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

messages$

messages$: Observable<ChannelMessage> = this.messages.asObservable()

Methods

connect

  • connect(): void
  • Request a connection to channel instance listening in the sendWindow.

    Returns void

destroy

  • destroy(): void
  • Stop listening for messages and shut down the message stream.

    Returns void

send

  • Send a message through the channel.

    Parameters

    • method: string

      An identifier that the target can map to a specific action

    • Default value params: any = {}

      Arguments for the method

    • Optional queryId: MessageID

      ID of a previous message that this message is responding to

    Returns MessageID

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Inherited property
  • Static property

Generated using TypeDoc