A wrapper for a ResultHandler that fulfills a Promise with the result.
This is also itself a ResultHandler.
- Value Params
- handler
The ResultHandler that calculates the result.
- Companion
- object
Value members
Concrete methods
Handles the end of a stream.
Handles the end of a stream.
Delegates this to the result handler and then fulfills the promise.
- Definition Classes
Handles an error in the stream.
Handles an error in the stream.
Delegates this to the result handler and then fulfills the promise with a failure.
- Definition Classes
Handles the initialisation of a new event stream.
Handles the initialisation of a new event stream.
Delegates this to the result handler.
- Definition Classes
Inherited fields
A unique identifier for the handler.
A unique identifier for the handler.
- Returns
a unique identifier
- Inherited from
- EventHandler