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

Method resolve

packages/effect/src/ui/testing/Steps.ts:486–486  ·  view source on GitHub ↗

* Resolves the oldest running Command matching `target` with the result it * would have produced, and sends the message. * * **Details** * * A definition matches by identity; an issued Command also matches the * arguments. `result` is the definition's own result, before any * `C

(target: D, result: Command.Result<D>)

Source from the content-addressed store, hash-verified

484 * a message also waits for the earlier ones of its group.
485 */
486 resolve<D extends Target>(target: D, result: Command.Result<D>): this
487 /**
488 * Fails the oldest running Command matching `target` with a typed failure
489 * of its body, and sends the message its `Command.match` maps it to. A

Callers 15

vitest.config.tsFile · 0.80
codegen.tsFile · 0.80
Plugin.test.tsFile · 0.80
resolveIdFunction · 0.80
OpenApiPatch.tsFile · 0.80
jsdocs.test.tsFile · 0.80
bin.tsFile · 0.80
findPackageRootFunction · 0.80
readPackageMetadataFunction · 0.80
parseBarrelExportsFunction · 0.80
resolveJSDocImportsFunction · 0.80
addInputFileFunction · 0.80

Calls

no outgoing calls

Tested by 15

bundledEffectModulesFunction · 0.64
setupFunction · 0.64
transactionMethod · 0.64
makeTestConnFunction · 0.64
closeWriteFunction · 0.64
sentFunction · 0.64
setAlarmMethod · 0.64
deleteAlarmMethod · 0.64
invokeFunction · 0.64
acknowledgeFunction · 0.64
resetFunction · 0.64
interruptFunction · 0.64