MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / decliningHandler

Function decliningHandler

packages/core/sdk/src/executor.test.ts:1214–1215  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1212 // reads issued by the declined call itself are the regression signal.
1213 calls.count = 0;
1214 const decliningHandler: ElicitationHandler = () =>
1215 Effect.succeed(ElicitationResponse.make({ action: "decline" }));
1216 const result = yield* Effect.result(
1217 executor.execute(addr("run"), {}, { onElicitation: decliningHandler }),
1218 );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected