Callback function to execute.
Unique identifier for the callback.
OptionalnameOptional name for debugging.
OptionalonceRemoves the callback after its first execution.
OptionalprotectedMarks the callback as protected, preventing its removal.
Event name associated with the callback.
OptionaltimeoutExecution delay in milliseconds; undefined means no timeout.
Represents a registered callback with its settings and metadata.