You’re correct that it gets it.

But it doesn’t actually uses it to execute the code, as far as I can see.

Check this part:

https://github.com/eclipse/vert.x/blob/master/src/main/java/io/vertx/core/impl/ContextImpl.java#L221

Method getNettyEventLoop() is used for networking, as you can see in this code, for example:

https://github.com/eclipse/vert.x/blob/6a01366c8b86f4d4431d9e97d775c45628dcd0ce/src/test/java/io/vertx/test/core/EventLoopGroupTest.java

Solutions Architect @Depop, author of “Hands-on Design Patterns with Kotlin” book and “Web Development with Kotlin” course

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store