MCPcopy Index your code
hub / github.com/Effect-TS/effect / keys

Method keys

packages/effect/src/internal/cache.ts:553–563  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

551 }
552
553 get keys(): Effect.Effect<Array<Key>> {
554 return core.sync(() => {
555 const keys: Array<Key> = []
556 for (const entry of this.cacheState.map) {
557 if (entry[1]._tag === "Complete" && entry[1].exit._tag === "Success") {
558 keys.push(entry[0])
559 }
560 }
561 return keys
562 })
563 }
564
565 resolveMapValue(
566 value: MapValue<Key, Value, Error>,

Callers 15

fromGlobFunction · 0.80
fromBabelGlobFunction · 0.80
fromRecordFunction · 0.80
compileMethod · 0.80
McpServerClass · 0.80
makeJsonSchemaFunction · 0.80
commitFunction · 0.80
executeValuesFunction · 0.80
expectPathsFunction · 0.80
TagFunction · 0.80

Calls 1

syncMethod · 0.80

Tested by 1

expectPathsFunction · 0.64