eclipse-vertx / vert.x

Vert.x is a tool-kit for building reactive applications on the JVM
http://vertx.io
Other
14.26k stars 2.07k forks source link

EventExecutor provide SPI #5280

Closed vietj closed 1 month ago

vietj commented 1 month ago

An SPI that associates EventExecutor for non Vertx thread.

The use case is the utilisation of vertx based middleware from a non vertx thread, allowing callbacks from vertx (futures/event) to be processed by an executor provided by the framework, i.e. let the embedder execute the tasks on the thread of their choice instead of an event-loop context.