12345module juptune.event.loop.core;
bool juptuneEventLoopIsThreadCanceled(
);
Determines if the current thread has been canceled.
It's best practice to write your code in a way that supports gracefully exiting, especially when explicitly requested from a thread being canceled.
There's some mechanisms in place to encourage this, such as yield-like functions returning an error-containing Resultwhen a thread is canceled, however sometimes manually checking the state of the thread's cancel status is desirable.
trueif the thread has been canceled, falseotherwise.