kernl API
    Preparing search index...

    Interface Ask<K>

    One question to the person: who asks, the facts, and kernl's own wording, which a host may reword.

    interface Ask<K extends AskKind = AskKind> {
        applet?: AppletIdentity;
        defaultText: AskKinds[K]["text"];
        facts: AskKinds[K]["facts"];
        kind: K;
        signal?: AskSignal;
        windowId?: string;
    }

    Type Parameters

    Index

    The exact applet that asked, by name and hash.

    defaultText: AskKinds[K]["text"]
    facts: AskKinds[K]["facts"]
    kind: K
    signal?: AskSignal

    Aborts when the question is withdrawn; close the prompt then.

    windowId?: string

    The window that asked. The answer applies to it only, and is discarded once it has closed.