Documentation
¶
Overview ¶
Package channel provides generic operations on channels.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RecvWithContext
deprecated
added in
v0.4.4
RecvWithContext tries to receive a value from a channel which is aborted if the context is canceled.
Function returns true if the value was received, false if the context was canceled or the channel was closed.
Deprecated: use plain old select instead.
Types ¶
Click to show internal directories.
Click to hide internal directories.