Options
All
  • Public
  • Public/Protected
  • All
Menu

EventQueue for which one queue per room is utilized.

Events at the head of line are processed as soon as their 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