Documentation
¶
Index ¶
- Variables
- func IsClosedWithin[T any](ch <-chan T, wait time.Duration) error
- func IsEmptyWithin[T any](src <-chan T, wait time.Duration) error
- func RecvContext[T any](ctx context.Context, c <-chan T) (T, error)
- func RecvWithin[T any](src <-chan T, wait time.Duration) (T, error)
- func SendContext[T any](ctx context.Context, c chan<- T, v T) error
- func SendWithin[T any](dest chan<- T, value T, wait time.Duration) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RecvContext ¶
RecvContext receives from c unless ctx is Done.
func SendContext ¶
SendContext sends v on c unless ctx is Done.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.