Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForEach ¶
ForEach passes each message received from a channel to a function.
It blocks until the given context is closed or the function returns an error.
func Forward ¶
Forward sends messages received from one channel to another.
It blocks until the given context is closed.
func NilOrCanceled ¶
NilOrCanceled returns true IFF an error is either nil or wraps context.Canceled.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.