( parser: (input: E, options?: SchemaAST.ParseOptions) => Effect.Effect<T, SchemaIssue.Issue, R> )
| 962 | } |
| 963 | |
| 964 | function 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 */ |
| 971 | export function asOption<T, E, R>( |
no outgoing calls
no test coverage detected