package
0.5.0
Repository: https://github.com/siderolabs/gen.git
Documentation: pkg.go.dev

# Functions

SendWithContext tries to send a value to a channel which is aborted if the context is canceled.
TryRecv tries to receive a value from a channel.

# Constants

StateClosed means that the channel was closed.
StateEmpty means that the channel was empty.
StateRecv means that a value was received from the channel.

# Type aliases

RecvState is the state of a channel after receiving a value.