Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
A few improvements and simplifications can be done in Vert.x
ContextContextTaskfunctional interface (which is aRunnablethat can throw) as we can useHandler<Void>in practice which unified the internalContext#wrapTaskmethodActionfunctional interface (which is similar to aCallable) as we can use theHandler<Future<T>>idiom insteadContextInternal#executeFromIO(T,Handler<T>)so an handler task can be passed an argumentContextImpl#wrapTaskso the logic can be reused byexecuteFromIOwithout creating a unnecessary lambdaWorkerContextinstead ofContextImpl#wrapTaskVertxHandlerwhen handling a message from Netty