Skip to main content

Interface: TimeoutOptions

Options for configuring the timeout behavior.

Properties​

message?​

optional message?: string | ((time) => string)

The message to display when a timeout occurs. By default, it will display a generic timeout message.


time​

time: number

The timeout duration in milliseconds.