com.workflowfm.proter.events
Type members
Classlikes
An error or exception occurred during the simulation.
An error or exception occurred during the simulation.
- Value Params
- error
A string representation of the error.
A TaskResource was added.
A TaskResource was added.
- Value Params
- costPerTick
The TaskResource.costPerTick of the resource.
- name
The name of the resource.
A simulation was added.
A simulation was added.
- Value Params
- name
The name of the simulation.
- start
The timestamp when this simulation is scheduled to start.
A simulation was finished.
A simulation was finished.
- Value Params
- name
The name of the simulation.
- result
The output of the simulation (if any).
A Task was aborted.
A Task was aborted.
- Value Params
- id
The
UUID
of the TaskInstance that was aborted.
A new Task was added in the queue.
A new Task was added in the queue.
- Value Params
- task
The TaskInstance that was added.
A TaskInstance was attached to a TaskResource as it started.
A TaskInstance was attached to a TaskResource as it started.
- Value Params
- resource
The involved TaskResource.
- task
The TaskInstance that was attached.
A TaskInstance was detached from a TaskResource as it finished.
A TaskInstance was detached from a TaskResource as it finished.
- Value Params
- cost
The resource cost associated with this task and resource.
- resource
The involved TaskResource.
- task
The TaskInstance that was detached.
A TaskInstance has finished.
A TaskInstance has finished.
- Value Params
- task
The TaskInstance that finished.
A TaskInstance was started.
A TaskInstance was started.
- Value Params
- task
The TaskInstance that was started.
An EventHandler that prints events to standard error.
An EventHandler that prints events to standard error.
A wrapper for a ResultHandler that fulfills a Promise with the result.
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
An EventHandler with a measured result.
An EventHandler with a measured result.
- Type Params
- R
The type of the result.
Listens for the end of a named simulation and handles its result.
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.