Options
All
  • Public
  • Public/Protected
  • All
Menu

EventQueue for which all events are enqueued in their order of arrival.

The foremost event is processed as soon as its data is available.

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Protected consumeFn

consumeFn: ConsumeCallback

Methods

consume

  • consume(): void

push

  • push(event: { room_id: string }, dataReady: DataReady): void
  • Push the event and its related data to the queue.

    Parameters

    • event: { room_id: string }

      The event to enqueue.

      • room_id: string
    • dataReady: DataReady

      Promise containing data related to the event.

    Returns void

Static create

Generated using TypeDoc