ReactorSignal

A singleton managing registered signals

Members

Aliases

SignalHandler
alias SignalHandler = void delegate(OSSignal) @(system)
Undocumented in source.

Functions

_close
void _close()

Call this when shutting down the reactor. Mostly necessary for unit tests

_open
void _open()

Must be called prior to registering any signals.

registerHandler
void registerHandler(OSSignal signum, SignalHandler handler)

register a signal handler

registerHandler
void registerHandler(T handler)
Undocumented in source. Be warned that the author may not have intended to support it.
unregisterHandler
void unregisterHandler(OSSignal signum)
Undocumented in source. Be warned that the author may not have intended to support it.
unregisterHandler
void unregisterHandler()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta