Interface ISettings

Settings that can be applied to a callback, such as timeout, protection status, and one-time execution.

Hierarchy

Properties

isOnce?: boolean

If true, the callback will automatically be removed after it is called once.

isProtected?: boolean

If true, the callback is protected and cannot be removed by standard removal methods.

name?: string

The name of the callback.

timeout?: number

The timeout (in milliseconds) before the callback is executed. A value of undefined means no timeout.