Documentation
¶
Overview ¶
Package channel provides generic operations on channels.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RecvWithContext ¶ 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.
Types ¶
Click to show internal directories.
Click to hide internal directories.