Skip to content

es cqrs.AsyncProvider

Sclable CI edited this page Oct 12, 2023 · 198 revisions

Interface: AsyncProvider<T>

es-cqrs.AsyncProvider

Type parameters

Name
T

Hierarchy

  • Pick<ModuleMetadata, "imports">

    AsyncProvider

Table of contents

Properties

Properties

inject

Optional inject: any[]

Defined in

packages/es-cqrs/src/interfaces/async-provider.ts:9


useClass

Optional useClass: Type<AsyncProviderFactory<T>>

Defined in

packages/es-cqrs/src/interfaces/async-provider.ts:10


useExisting

Optional useExisting: Type<AsyncProviderFactory<T>>

Defined in

packages/es-cqrs/src/interfaces/async-provider.ts:11


useFactory

Optional useFactory: (...args: any[]) => T | Promise<T>

Type declaration

▸ (...args): T | Promise<T>

Parameters
Name Type
...args any[]
Returns

T | Promise<T>

Defined in

packages/es-cqrs/src/interfaces/async-provider.ts:13

Clone this wiki locally