Skip to main content

Module worker

Module worker 

Source

Structsยง

WorkerReceiver
Special Receiver struct that notices when the worker disconnects. When a worker drops we update the active worker counter such that the orchestrator knows this worker is not participating in any measurements. Furthermore, we send a message to the CLI if it is currently performing a measurement, to let it know this worker is finished.
WorkerSender
Special Sender struct for workers that sends tasks after a delay (based on the Worker interval).