Example:
while (check()) {
// Do some work
doBackgroundTask();
}int check() nothrow @nogcChecks for and processes pending events without blocking.
This is useful for integrating FLTK with other event loops or for doing background processing while keeping the UI responsive.
Example:
while (check()) {
// Do some work
doBackgroundTask();
}