mpsc
library
Classes
-
Mpsc
-
MPSC (Multiple-Producer Single-Consumer) channels - The workhorse of concurrent systems.
-
MpscReceiver<T>
-
Single consumer for MPSC channels with efficient receive operations.
-
MpscSender<T>
-
Multi-producer sender for MPSC channels with cloning capability.
-
RecvError
-
Base class for receive operation errors.
-
RecvErrorCanceled
-
Receive operation was canceled before completion.
-
RecvErrorDisconnected
-
All senders have been closed and no more values will arrive.
-
RecvErrorEmpty
-
Channel is empty and no values are available.
-
RecvErrorFailed
-
Receive operation failed due to an unexpected exception.
-
RecvErrorTimeout
-
Receive operation timed out.
-
RecvOk<T>
-
Successfully received a value from the channel.
-
RecvResult<T>
-
Result of a channel receive operation.
-
SendError
-
Base class for send operation errors.
-
SendErrorDisconnected
-
No active receivers are available to receive the value.
-
SendErrorFailed
-
Send operation failed due to an unexpected exception.
-
SendErrorFull
-
Channel buffer is full and cannot accept more values.
-
SendErrorTimeout
-
Send operation timed out.
-
SendOk
-
Send operation completed successfully.
-
SendResult
-
Result of a channel send operation.
Typedefs
-
OnDrop<T>
= void Function(T dropped)
-