pub trait PushWorkHandler: Send + Sync {
    fn push_work_all(&self, payload: String);
}
Expand description

Interface that can handle requests to push job for workers

Required methods

push the same work package for all workers (payload: json of pow-specific set of work specification)

Implementors