Io module

poll_attempt

procedureextensionexperimentalsince 0.31.0Source

One non-blocking try. True: finished, op.result is set. False: it must wait for readiness (op.wants_write says which).

poll_attempt :: (op: *Op, ready := false) -> bool

Parameters

op: *Op
ready := false

Returns

bool

See also