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

Function Result

packages/effect/src/unstable/workflow/Workflow.ts:623–629  ·  view source on GitHub ↗
(options: {
  readonly success: Success
  readonly error: Error
})

Source from the content-addressed store, hash-verified

621 * @since 4.0.0
622 */
623export const Result = <
624 Success extends Schema.Constraint,
625 Error extends Schema.Constraint
626>(options: {
627 readonly success: Success
628 readonly error: Error
629}) => Schema.Union([Complete.Schema(options), Suspended])
630
631const AnyOrVoid = Schema.Union([Schema.Any, Schema.Void])
632

Callers 1

Workflow.tsFile · 0.70

Calls 1

SchemaMethod · 0.80

Tested by

no test coverage detected