noxious

Module signal

Source
Expand description

Contains the Stop and Close signals

Structsยง

  • A receiver for the close signal, which is used to indicate that a resource is ready to close
  • The listen channel closed before the close signal was received
  • The sender for the close signal, to indicate that the owner of this closer is ready to close
  • Could not snd the close signal, listener for close dropped
  • 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.
  • A handle that can send a stop signal once to all subscribers