Interface ICallbacksSettings

Configurable settings for a callback.

interface ICallbacksSettings {
    name?: string;
    once?: boolean;
    protected?: boolean;
    timeout?: number;
}

Hierarchy (View Summary)

Properties

name?: string

Optional name for debugging.

once?: boolean

Removes the callback after its first execution.

protected?: boolean

Marks the callback as protected, preventing its removal.

timeout?: number

Execution delay in milliseconds; undefined means no timeout.