- Companion:
- class
Type members
Classlikes
An event that represents a job that has been found, for delivery/allocation to the worker.
An event that represents a job that has been found, for delivery/allocation to the worker.
- Value parameters:
- job
the job to be given to the worker.
- workerId
the id of the worker the job is being sent to.
An event emitted by a worker, used to try and find a job to do.
An event emitted by a worker, used to try and find a job to do.
- Value parameters:
- canTakeJob
A predicate job discriminator supplied by the worker to decide if a job can be done by the requesting worker.
- workerId
the workers ID, so that we can report back to the requester.
An event representing that no job could be found for the worker.
An event representing that no job could be found for the worker.
- Value parameters:
- workerId
the id of the worker who made the request.
An event to Post a job onto the global market
An event to Post a job onto the global market
- Value parameters:
- job
the job to put onto the marker