Trait apalis::prelude::WorkerFactory
source · pub trait WorkerFactory<J, S> {
type Source;
type Service;
// Required method
fn build(self, service: S) -> Worker<Ready<Self::Service, Self::Source>>;
}
Expand description
Helper trait for building new Workers from WorkerBuilder