Constructs a Channel
Close the channel
Return the closed status of the Channel
Return the length of the internal buffer
Read a message from the Channel with an optional timeout
Try to read a message from Channel without blocking and if it fails, create a read queue entry using the given sel_state and sel_id
Try to write a message to Channel without blocking and if it fails, create a write queue entry using the given sel_state and sel_id
Write a message to the Channel with an optional timeout
Maximum amount of T a Channel can buffer
Try to read/write to the Selectable without blocking. If the operation would block, queue and link it with the sel_state
A golang style channel implementation with buffered and unbuffered operation modes
Intended to be used between Fibers
Param: T = Type of the messages carried accross the Channel. Currently all reference and values types are supported.