Trait apalis_core::builder::WorkerFactoryFn
source · Expand description
Helper trait for building new Workers from WorkerBuilder
Required Associated Types§
Required Methods§
sourcefn build_fn(self, f: F) -> Self::Worker
fn build_fn(self, f: F) -> Self::Worker
Builds a WorkerFactoryFn using a crate::job_fn::JobFn service
that can be used to generate new Worker actors using the build method
Arguments
f- A tower functional service