MCPcopy Index your code
hub / github.com/cardstack/cardstack / FactoryByCreateMethod

Interface FactoryByCreateMethod

packages/hub/di/container.ts:8–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6 new (...a: A): T;
7}
8export interface FactoryByCreateMethod<T, A extends unknown[] = []> {
9 create(...a: A): Promise<T>;
10}
11
12export type Factory<T, A extends unknown[] = []> = FactoryByConstructor<T, A> | FactoryByCreateMethod<T, A>;
13

Callers 8

test-helper.jsFile · 0.65
_lookupMethod · 0.65
instantiateMethod · 0.65
createFunction · 0.65
handleProxyCreationFunction · 0.65
handleNewPairFunction · 0.65
issuePrepaidCardFunction · 0.65
initializeFunction · 0.65

Implementers 3

PrepaidCardpackages/cardpay-sdk/sdk/prepaid-card/
CircleFiveServiceFactorypackages/hub/node-tests/di/dependency-
CircleSixAsyncServiceFactorypackages/hub/node-tests/di/dependency-

Calls

no outgoing calls

Tested by

no test coverage detected