Io module

send

procedure · 1 overloadSource

Puts value into the channel, blocking while it is full. .CLOSED if the channel is (or becomes) closed, .CANCELED if the fiber is canceled while it waits.

send :: (channel: *Channel($T), value: T) -> Io_Error

Puts value into the channel, blocking while it is full. .CLOSED if the channel is (or becomes) closed, .CANCELED if the fiber is canceled while it waits.

Parameters

channel: *Channel($T)
value: T

Returns

See also