Interface

Gcr-4GcrPromptSignalSignatures

interface SignalSignatures {
    "prompt-close": () => void;
}

Hierarchy (View Summary)

Index
"prompt-close": () => void

Action signal fired when the prompt is to be closed. After the default handler has run, the prompt is closed. The various prompting methods will return results as if the user dismissed the prompt.

You can use the Prompt.close method to emit this signal.