Module noxious::signal[][src]

Contains the Stop and Close signals

Structs

Close

A receiver for the close signal, which is used to indicate that a resource is ready to close

CloseError

The listen channel closed before the close signal was received

Closer

The sender for the close signal, to indicate that the owner of this closer is ready to close

CloserError

Could not snd the close signal, listener for close dropped

Stop

The receiver for the stop signal, which can be used to indicate that a part, or all of the system is required to shut down. This stop handle can be cloned to pass the signal to multiple async tasks, and it can be forked to let child tasks have their own stop logic in addition to the parent system stop logic.

Stopper

A handle that can send a stop signal once to all subscribers