Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MergeChans ¶
func MergeChans[T any](chans ...<-chan T) (<-chan T, context.CancelFunc)
MergeChans returns a channel that is closed when any of the input channels are signaled. The caller must call the returned CancelFunc to ensure no resources are leaked.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.