Variables
read onlydoWork:WorkFunction<(State, WorkOutput) ‑> Void>
The function responsible for carrying out the job.
read onlyduration:Float = 0
The total time spent on this job.
In multi-threaded mode, this includes the overhead for sending messages, plus any time spent waiting for a canceled job to return. The latter delay can be reduced by returning at regular intervals.