Module shutdown

Source
Expand description

A shutdown channel.

Each worker holds the Sender half. When all the Sender halves are dropped, the Receiver receives a notification.

Structsยง

Receiver ๐Ÿ”’
Sender ๐Ÿ”’

Functionsยง

channel ๐Ÿ”’