Skip to main content

KeyedServiceFactory

Type Alias KeyedServiceFactory 

Source
pub type KeyedServiceFactory = Arc<dyn Fn(&dyn IServiceResolver, &ServiceKey) -> Arc<dyn Any + Send + Sync> + Send + Sync>;
Expand description

Factory for AnyKey fallback registrations: receives the requested key.

Aliased Typeยง

pub struct KeyedServiceFactory { /* private fields */ }