Module CometD

Index

Variables

Interfaces

Functions

Variables

onListenerException: (exception: any, subscriptionHandle: any, isListener: boolean, message: string) => void

Functions

addListener(channel: string, listener: (message: any) => void)

Parameters

  • channel: string
  • listener: (message: any) => void

init(options: ConfigurationOptions)

Parameters

publish(channel: string, message: any)

Parameters

  • channel: string
  • message: any

removeListener(listener: (message: any) => void)

Parameters

  • listener: (message: any) => void