( schema: Schema.Schema<A, I, never>, options?: AST.ParseOptions )
| 490 | * @since 3.10.0 |
| 491 | */ |
| 492 | export const decodeUnknownPromise = <A, I>( |
| 493 | schema: Schema.Schema<A, I, never>, |
| 494 | options?: AST.ParseOptions |
| 495 | ) => { |
| 496 | const parser = decodeUnknown(schema, options) |
| 497 | return (u: unknown, overrideOptions?: AST.ParseOptions): Promise<A> => Effect.runPromise(parser(u, overrideOptions)) |
| 498 | } |
| 499 | |
| 500 | /** |
| 501 | * @category decoding |
nothing calls this directly
no test coverage detected