MCPcopy Create free account
hub / github.com/Effect-TS/effect / record

Function record

packages/effect/src/chat/ChatTest.ts:535–535  ·  view source on GitHub ↗
(outcome: Call["outcome"])

Source from the content-addressed store, hash-verified

533 ): Effect.Effect<A, ChatError> =>
534 (retries ? retrySafe : <X>(effect: X) => effect)(Effect.suspend(() => {
535 const record = (outcome: Call["outcome"]) => calls.push({ ...call, outcome })
536 const missing = needs.find((capability) => !descriptor.capabilities.has(capability))
537 if (missing !== undefined) {
538 record("Unsupported")

Callers 2

attemptFunction · 0.70
rebaseIssueFunction · 0.50

Calls 1

pushMethod · 0.65

Tested by

no test coverage detected