ICoreEventLoop.RunOnceResult

Returns details from a call to runOnce. Use the named methods here for details, or it can be used in a while loop directly thanks to its opCast automatic conversion to bool.

interface ICoreEventLoop
static
struct RunOnceResult {
Possibilities result;
}

Members

Functions

applicationExitRequested
bool applicationExitRequested()

Returns true if ICoreEventLoop.exitApplication was called during this event, or if the user or operating system has requested the application exit.

opCast
bool opCast()

Returns shouldContinue when used in a context for an implicit bool (e.g. if statements).

shouldContinue
bool shouldContinue()

Returns true if the event loop should generally continue.

Meta

History

Added December 28, 2023