ActorFactory

Type Alias ActorFactory 

Source
pub type ActorFactory = Arc<dyn Fn() -> Box<dyn Actor> + Send + Sync + 'static>;
Expand description

Factory that produces a fresh boxed Actor on each invocation.

Aliased Typeยง

pub struct ActorFactory { /* private fields */ }