diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2022-10-28 11:48:59 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2022-10-28 12:03:38 +0200 |
| commit | 3528091684f610d80fcebb5b730d3a201e79a99a (patch) | |
| tree | d39ddff0957924b1a9cfbcc5cd2a4fd5f3349798 /site | |
| parent | cdc7df3c3d398a7af15014b4c0f6cd495c05fcce (diff) | |
feat(sim/compute): Add completion parameter to startWorkload
This change updates the interface of `SimMachine#startWorkload` to
introduce a parameter `completion` that is invoked when the workload
completes either succesfully or due to failure.
This functionality has often been implemented by wrapping a
`SimWorkload` and catching its exceptions. However, since this
functionality is used in all usages of `SimMachine#startWorkload` we
instead embed it into `SimMachine` itself.
Diffstat (limited to 'site')
0 files changed, 0 insertions, 0 deletions
