FactoryFunc<T> typedef

FactoryFunc<T> = T Function()

Factory function callback that instantiates a dependency of type T.

Invoked by BloomContainer.provide and BloomContainer.provideSingleton when resolving dependencies.

Implementation

typedef FactoryFunc<T> = T Function();