PromptOptions allow you to configure the prompts behavior.

interface PromptOptions {
    destroyOnTimeout: boolean;
    timeoutBehavior: TimeoutBehavior;
}

Properties

destroyOnTimeout: boolean

When the Prompt is timed out it will then also be destroyed.

Default Value

true
timeoutBehavior: TimeoutBehavior

Controls the behavior when the Prompt is timed out.

Default Value

{@link TimeoutBehavior.RejectOnTimeout}

See

TimeoutBehavior

Generated using TypeDoc