Constructors
Properties
Methods
notify
- notify(name: string, data?: Record<string, any>): void
Parameters
- name: string
Optional
data: Record<string, any> = {}
Returns void
request
- request(name: string, data?: Record<string, any>): Promise<any>
Parameters
- name: string
Optional
data: Record<string, any> = {}
Returns Promise<any>
subscribe
- subscribe(name: string, callback: (value: unknown) => void): () => void
Parameters
- name: string
- callback: (value: unknown) => void
Returns () => void
Send a 'fire-and-forget' message.