kernl API
    Preparing search index...

    Interface GuardPipelineOptions

    Options for createGuardPipeline.

    interface GuardPipelineOptions {
        config: GuardConfig;
        getVisibility?: (windowId: string) => WindowVisibility;
        now?: () => number;
        onEvent?: (event: GuardEvent) => void;
        onQuarantine?: (windowId: string, napplet: string) => void;
    }
    Index
    config: GuardConfig
    getVisibility?: (windowId: string) => WindowVisibility

    Visibility for a window the pipeline has not been told about yet.

    now?: () => number
    onEvent?: (event: GuardEvent) => void

    Receives every guard event from every layer.

    onQuarantine?: (windowId: string, napplet: string) => void

    Called once when a window crosses the quarantine threshold; kernl revokes it here, before the triggering envelope is dispatched.