Beignet API reference
    Preparing search index...

    Interface BroadcastRefreshGate

    Application policy for broadcast-driven refreshes only. Checks must be synchronous.

    interface BroadcastRefreshGate {
        isBlocked(query: Query): boolean;
        subscribe(onChange: () => void): () => void;
    }
    Index
    • Parameters

      • query: Query

      Returns boolean

    • Notify after policy changes. Return cleanup; do not acquire resources before throwing.

      Parameters

      • onChange: () => void

      Returns () => void