Package dev.webfx.platform.async
Interface Handler<E>
- All Known Subinterfaces:
Promise<T>
,PromiseInternal<T>
- All Known Implementing Classes:
PromiseImpl
,VoidHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A generic event handler.
This interface is used heavily throughout Vert.x as a handler for all types of asynchronous occurrences.
- Author:
- Tim Fox
-
Method Summary
-
Method Details
-
handle
Something has happened, so handle it.- Parameters:
event
- the event to handle
-