package
0.0.0-20230808143047-ff439f295c29
Repository: https://github.com/caravan/essentials.git
Documentation: pkg.go.dev
# Functions
MustReceive will receive from a Receiver or panic if it is closed.
MustSend will send to a ClosingSender or panic if it is closed.
Poll will wait up until the specified Duration for a message to possibly be returned, advancing the Receiver's Cursor upon success.
Receive returns the next message, blocking indefinitely, and advancing the Receiver's Cursor upon completion.
Send sends a message to a ClosingSender.
# Constants
ErrReceiverClosed is raised when MustReceive is called on a closed Receiver.
ErrSenderClosed is raised when MustSend is called on a closed Sender.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author