Options
All
  • Public
  • Public/Protected
  • All
Menu

Module events

Index

Functions

findEvents

isIncomingQueueEmpty

  • isIncomingQueueEmpty(event: Event): boolean

registerMiddleware

removeMiddleware

  • removeMiddleware(middlewareName: any): void

replyToEvent

  • replyToEvent(eventDestination: EventDestination, payloads: any[], incomingEventId?: undefined | string): void

saveUserFeedback

  • saveUserFeedback(incomingEventId: string, target: string, feedback: number, type?: undefined | string): Promise<boolean>
  • Parameters

    • incomingEventId: string
    • target: string
    • feedback: number
    • Optional type: undefined | string

    Returns Promise<boolean>

    true if feedback was successfully saved

sendEvent

  • sendEvent(event: Event): Promise<void>

updateEvent

  • updateEvent(id: string, fields: Partial<StoredEvent>): Promise<void>

Generated using TypeDoc