You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a starting point for implementing an abstract virtual thread verticle. It works very well for me in production.
Use cases
All handlers created in the verticle's start will themselves run within virtual threads, which is excellent! This makes interacting with blocking Java APIs seamless.
Describe the feature
This is a starting point for implementing an abstract virtual thread verticle. It works very well for me in production.
Use cases
All handlers created in the verticle's start will themselves run within virtual threads, which is excellent! This makes interacting with blocking Java APIs seamless.
Contribution
Here's my code that I have been using:
users should override
startVirtual
andstopVirtual
withawait
on VertxFuture
s. That's it.The text was updated successfully, but these errors were encountered: