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

Function asExit

packages/effect/src/SchemaParser.ts:964–968  ·  view source on GitHub ↗
(
  parser: (input: E, options?: SchemaAST.ParseOptions) => Effect.Effect<T, SchemaIssue.Issue, R>
)

Source from the content-addressed store, hash-verified

962}
963
964function asExit<T, E, R>(
965 parser: (input: E, options?: SchemaAST.ParseOptions) => Effect.Effect<T, SchemaIssue.Issue, R>
966): (input: E, options?: SchemaAST.ParseOptions) => Exit.Exit<T, SchemaIssue.Issue> {
967 return (input: E, options?: SchemaAST.ParseOptions) => Effect.runSyncExit(parser(input, options) as any)
968}
969
970/** @internal */
971export function asOption<T, E, R>(

Callers 7

_isFunction · 0.85
assertsFunction · 0.85
decodeUnknownExitFunction · 0.85
encodeUnknownExitFunction · 0.85
asOptionFunction · 0.85
asResultFunction · 0.85
asSyncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected