Methods
initialize
- initialize(): void
-
Returns void
emitEvent
- emitEvent(event: string, payload: IEventPayload): void
-
Returns void
enable
- enable(): Promise<boolean>
-
Returns Promise<boolean>
disable
- disable(): Promise<boolean>
-
Returns Promise<boolean>
isEnabled
- isEnabled(): Promise<boolean>
-
Returns Promise<boolean>
subscribe
- subscribe(personIds: string | string[], subscriptionTtl?: number): Promise<{
responses: any[];
}>
-
Parameters
-
personIds: string | string[]
-
Optional
subscriptionTtl: number
Returns Promise<{
responses: any[];
}>
unsubscribe
- unsubscribe(personIds: string | string[]): Promise<{
responses: any;
}>
-
Parameters
-
personIds: string | string[]
Returns Promise<{
responses: any;
}>
setStatus
- setStatus(status: string, ttl: number): Promise<any>
-
Parameters
-
status: string
-
ttl: number
Returns Promise<any>
enqueue
- enqueue(id: string): void
-
Returns void
dequeue
- dequeue(id: string): void
-
Returns void