Expand description
An async notification channel.
This channel allows one task to notify another. No data is passed from the sender to receiver. A
NotifySender may send multiple notifications and a NotifyReceiver may receive multiple
notifications. Notifications will be coalesced, so if a NotifySender sends multiple
notifications, the NotifyReceiver may or may not receive all of the notifications. If there
are multiple NotifyReceivers, each will be notified.
An optional type can be attached to the NotifySender and NotifyReceiver to identify the
purpose of the notifications and to provide type checking.
Structsยง
- Notify
Receiver ๐ - A
NotifyReceiverwhich can receive notifications from aNotifySender. - Notify
Sender ๐ - A
NotifySenderwhich can notifyNotifyReceivers.