Why System::runEventLoop() and System::runSingleEventLoop() ?
Let's say if you need to run conflicting tasks immediately and complete them 100% then use System::runSingleEventLoop()
If you have a rescheduling system then use System::runEventLoop() to handle each part of the tasks
However, if you're just running standalone like JavaScript, you just need to run it naturally without the above two methods!
Last updated