Job[Input: Any #send, Output: Any #send]¶
Job
sets up a new fork_join
processing task and provides the user with a
means to start the job and terminate it before the
Generator
runs out of data.
Constructors¶
create¶
new tag create(
worker_builder: WorkerBuilder[Input, Output] iso,
generator: Generator[Input] iso,
collector: Collector[Input, Output] iso,
auth: SchedulerInfoAuth val,
max_workers: USize val = 0)
: Job[Input, Output] tag^
Parameters¶
- worker_builder: WorkerBuilder[Input, Output] iso
- generator: Generator[Input] iso
- collector: Collector[Input, Output] iso
- auth: SchedulerInfoAuth val
- max_workers: USize val = 0
Returns¶
- Job[Input, Output] tag^
Public Behaviours¶
start¶
Start the job.
terminate¶
End the job before the generator has run out of data.