MCPcopy Create free account
hub / github.com/LeetCode-OpenSource/ayanami / getFrom

Method getFrom

src/core/ikari.ts:94–96  ·  view source on GitHub ↗
(target: { defaultState: S })

Source from the content-addressed store, hash-verified

92 }
93
94 static getFrom<S>(target: { defaultState: S }): Ikari<S> | undefined {
95 return Reflect.getMetadata(ikariSymbol, target)
96 }
97
98 state = createState(this.config.defaultState)
99

Callers 3

createAndBindAtMethod · 0.95
combineWithIkariFunction · 0.80
destroyIkariFromFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected