Expand description

conn_notifs_channel is a channel which delivers to the receiver only the last of N messages that might have been sent by sender(s) since the last poll. The items are separated using a key that is provided by the sender with each message.

It provides an mpsc channel which has two ends conn_notifs_channel::Receiver and conn_notifs_channel::Sender which behave similarly to existing mpsc data structures.

Functions

Type Definitions