signals ( *signames )
IEventSource that triggers whenever any of named signals occur
Note: signal callbacks occur from within a signal handler, so it's
usually best to yield to an IScheduler.sleep() (or use a scheduled
task) in order to avoid doing anything that might interfere with
running code.
Also note that signal event sources are only active so long as a
reference to them exists. If all references go away, the signal
handler is deactivated, and no callbacks will be sent, even if they
were already registered.
|