Documentation
    Preparing search index...

    Interface BrowserIntentControllerOptions

    Browser lifecycle callbacks injected by the Paja host.

    interface BrowserIntentControllerOptions {
        maxAttempts?: number;
        getWindowId(generation: BrowserIntentGeneration): string | null;
        isCurrent(generation: BrowserIntentGeneration): boolean | Promise<boolean>;
        onTerminal?(
            params: IntentDispatchParams,
            reason: BrowserIntentTerminalReason,
        ): void;
        openOrReuse(
            params: IntentDispatchParams,
            attempt: number,
        ): BrowserIntentGeneration | Promise<BrowserIntentGeneration | null> | null;
        send(
            generation: BrowserIntentGeneration,
            params: IntentDispatchParams,
        ): void | Promise<void>;
        waitForReady(generation: BrowserIntentGeneration): void | Promise<void>;
    }
    Index

    Properties

    maxAttempts?: number

    Maximum open/replacement attempts. Finite values clamp to 1–10; defaults to two.

    Methods