Documentation ¶
Overview ¶
A package channels is a package that contains the channels implementation of the application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Broadcast ¶
func Broadcast[T any](input <-chan T, outputs ...chan<- T)
Broadcast broadcasts a channel to multiple channels.
func Drain ¶ added in v0.1.13
func Drain[T any](input <-chan T)
Drain drains the channel until it is closed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.