Io module

try_send

procedure · 1 overloadSource

A send that gives up instead of blocking: whether the value was taken.

try_send :: (channel: *Channel($T), value: T) -> bool

A send that gives up instead of blocking: whether the value was taken.

Parameters

channel: *Channel($T)
value: T

Returns

bool

See also