runEventLoop()

Only use this method when you really need to manage EventLoop according to your needs.

This is the static method you will use when finishing a program but it must be repeated frequently, such as:

while (true) {
    // TODO: Please work with your program on this.
    System::runEventLoop();
}

However, you can customize it as you like.

Last updated