WithResult
Defined in: node_modules/.pnpm/effect@3.15.2/node_modules/effect/dist/dts/Schema.d.ts:4819
The WithResult trait is designed to encapsulate the outcome of an
operation, distinguishing between success and failure cases. Each case is
associated with a schema that defines the structure and types of the success
or failure data.
3.10.0
Extended by
Section titled “Extended by”Type Parameters
Section titled “Type Parameters”Success
Section titled “Success”Success
SuccessEncoded
Section titled “SuccessEncoded”SuccessEncoded
Failure
Section titled “Failure”Failure
FailureEncoded
Section titled “FailureEncoded”FailureEncoded
ResultR
Section titled “ResultR”ResultR
Properties
Section titled “Properties”[symbolWithResult]
Section titled “[symbolWithResult]”
readonly[symbolWithResult]:object
Defined in: node_modules/.pnpm/effect@3.15.2/node_modules/effect/dist/dts/Schema.d.ts:4820
failure
Section titled “failure”
readonlyfailure:Schema<Failure,FailureEncoded,ResultR>
success
Section titled “success”
readonlysuccess:Schema<Success,SuccessEncoded,ResultR>