( schema: S )
| 465 | * @since 4.0.0 |
| 466 | */ |
| 467 | export const decodeSchemaString = <S extends Schema.Constraint>( |
| 468 | schema: S |
| 469 | ) => |
| 470 | <IE = never, Done = unknown>(options?: { |
| 471 | readonly ignoreEmptyLines?: boolean | undefined |
| 472 | }): Channel.Channel< |
| 473 | Arr.NonEmptyReadonlyArray<S["Type"]>, |
| 474 | Schema.SchemaError | NdjsonError | IE, |
| 475 | Done, |
| 476 | Arr.NonEmptyReadonlyArray<string>, |
| 477 | IE, |
| 478 | Done, |
| 479 | S["DecodingServices"] |
| 480 | > => Channel.pipeTo(decodeString(options), ChannelSchema.decodeUnknown(schema)()) |
| 481 | |
| 482 | /** |
| 483 | * Wraps a bidirectional byte channel with NDJSON encoding and decoding. |
nothing calls this directly
no test coverage detected