Io module

is_canceled

procedureextensionexperimentalSource

Whether the running fiber was canceled, for loops that do not block.

Example↗
Io :: #import "Extensions/Io";

Io.io_run(() {
    assert(!Io.is_canceled());
});
is_canceled :: () -> bool

Returns

bool

See also