MCPcopy
hub / github.com/Effect-TS/effect / values

Method values

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

Source from the content-addressed store, hash-verified

527 }
528
529 get values(): Effect.Effect<Array<Value>> {
530 return core.sync(() => {
531 const values: Array<Value> = []
532 for (const entry of this.cacheState.map) {
533 if (entry[1]._tag === "Complete" && entry[1].exit._tag === "Success") {
534 values.push(entry[1].exit.value)
535 }
536 }
537 return values
538 })
539 }
540
541 get entries(): Effect.Effect<Array<[Key, Value]>> {
542 return core.sync(() => {

Callers 15

configFile.tsFile · 0.45
moveShipFunction · 0.45
shootFunction · 0.45
AllPartsFunction · 0.45
PartFunction · 0.45
StreamPartFunction · 0.45
LanguageModel.tsFile · 0.45
McpServer.tsFile · 0.45
toJSONFunction · 0.45
applyMiddlewareFunction · 0.45
makeErrorSchemaFunction · 0.45

Calls 1

syncMethod · 0.80

Tested by

no test coverage detected