MCPcopy
hub / github.com/midwayjs/midway / getAsync

Method getAsync

packages/core/src/interface.ts:593–593  ·  view source on GitHub ↗
(identifier: ClassType<T> | string, args?: any[])

Source from the content-addressed store, hash-verified

591 registry: IObjectDefinitionRegistry;
592 get<T>(identifier: ClassType<T> | string, args?: any[]): T;
593 getAsync<T>(identifier: ClassType<T> | string, args?: any[]): Promise<T>;
594}
595
596export enum ObjectLifeCycleEvent {

Callers 15

index.test.tsFile · 0.65
onReadyMethod · 0.65
onReadyMethod · 0.65
onReadyMethod · 0.65
config.default.tsFile · 0.65
config.default.tsFile · 0.65
createAdapterFunction · 0.65
createWatcherFunction · 0.65
index.test.tsFile · 0.65
onReadyMethod · 0.65
index.test.tsFile · 0.65

Implementers 2

MidwayContainerpackages/core/src/context/container.ts
MidwayRequestContainerpackages/core/src/context/requestConta

Calls

no outgoing calls

Tested by 7

onReadyFunction · 0.52
onReadyFunction · 0.52
createAppFunction · 0.52
onReadyFunction · 0.52
onReadyFunction · 0.52
onReadyFunction · 0.52