Blocks until an interrupt is requested.

Synopsis

Declared in <util/signalinterrupt.h>

[[nodiscard]]
bool
wait();

Return Value

true once interrupted, false on error

Note

The return value should not be discarded.

Created with MrDocs