Does V8 have an event loop?

Your intuition is right that the event loop is something that embedders should have control over. However, it is also a fundamental abstract concept of the JavaScript programming model. V8’s solution is to provide a default implementation that embedders can override; you can find it in the “libplatform” component: https://chromium.googlesource.com/v8/v8/+/master/src/libplatform/default-platform.cc#140 See also Relationship between event … Read more