Beignet API reference
    Preparing search index...

    Interface EventSubscription

    Lifecycle handle for one event subscription or a composed listener registration.

    ready proves initial transport readiness. It does not represent ongoing connectivity, durability, replay, or handler success after startup.

    interface EventSubscription {
        ready: Promise<void>;
        unsubscribe(): Promise<void>;
    }
    Index
    ready: Promise<void>

    Resolves when the subscription can receive events.

    • Stop local delivery and await transport cleanup. Idempotent.

      Returns Promise<void>