Skip to main content

IFactoryAsyncPooled<TParam1, TParam2, TParam3, TInterface>

An interface in Alta.VContainerLayer.Runtime, the global namespace.

Async pooled factory that passes three parameters to each spawned instance.

Methods​

MemberWhat it is
void Despawn(TInterface instance)Returns the instance to the pool.
Task<TInterface> Spawn(TParam1 param1, TParam2 param2, TParam3 param3)Gets or makes an instance, passing it the parameters, and returns it when ready.