kernl API
    Preparing search index...

    Interface VisibilityGateOptions

    Options for createVisibilityGate.

    interface VisibilityGateOptions {
        config: GuardConfig;
        nappletFor?: (windowId: string) => string;
        now?: () => number;
        onEvent?: (event: GuardEvent) => void;
    }
    Index
    config: GuardConfig
    nappletFor?: (windowId: string) => string

    Resolves the applet identity for a window so overflow events name the applet. The gate is keyed by window alone; without a resolver events report unknown.

    now?: () => number

    Time source; defaults to Date.now.

    onEvent?: (event: GuardEvent) => void

    Receives a reject event when a hidden window's defer queue overflows.