Interface IAsyncFactory<T, M>

An async factory interface that produces an entity of type T

interface IAsyncFactory<T, M> {
    get(module, options, ctx): Promise<T>;
    getModule(): M;
    makeBindContext(module, key): FactoryBindContext<M, T, IAsyncFactory<T, M>>;
}

Type Parameters

Implemented by

Methods