Field Notes
    Preparing search index...
    Index
    • Broadcasts ephemeral server-owned presence data to every connection in a room. The returned count covers accepted synchronous send admission on this hub instance, not completed physical delivery. Async frame policy can subsequently deny a frame.

      Type Parameters

      • T

      Parameters

      • room: string
      • data: T

      Returns number

    • Dispatches a frame on its room queue. Existing two-argument callers retain legacy behavior. With options, the caller owns timeout and abort scheduling: an aborted/expired queued frame or a false beforeProcess result resolves without processing. Aborting active work is cooperative; its promise settles only when the actual hook or process settles. Active exceptions reject the caller, and the room queue recovers for subsequent frames.

      Parameters

      Returns Promise<void>