SimulationResultHandler
class SimulationResultHandler(name: String, callback: String => Unit) extends ResultHandler[Option[String]]
Listens for the end of a named simulation and handles its result.
- Value Params
- callback
A function to handle the results of the simulation when it completes.
- name
The name of the SimulationRef to listen for.
Value members
Concrete methods
Handles the initialisation of a new event stream.
Handles the initialisation of a new event stream.
Sets the publisher.
- Definition Classes
Inherited methods
Handles the end of a stream.
Handles the end of a stream.
- Value Params
- publisher
The Publisher that ended the stream.
- Inherited from
- EventHandler
Handles an error in the stream.
Handles an error in the stream.
- Value Params
- e
The throwable error that occurred.
- publisher
The Publisher that threw the error.
- Inherited from
- EventHandler
Concrete fields
Inherited fields
A unique identifier for the handler.
A unique identifier for the handler.
- Returns
a unique identifier
- Inherited from
- EventHandler