MCPcopy
hub / github.com/stampit-org/stampit / FactoryFunction

Interface FactoryFunction

stampit.ts:35–37  ·  view source on GitHub ↗

A factory function: call it (optionally with options) to get an instance.

Source from the content-addressed store, hash-verified

33
34/** A factory function: call it (optionally with options) to get an instance. */
35interface FactoryFunction<I, O = object> {
36 (options?: O, ...args: any[]): I;
37}
38
39/** The context object passed as the 2nd argument to every initializer. */
40interface InitializerContext<I> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…