Function
unpackSchema
(
schema: Schema.Schema<A, I, R>
)
Source from the content-addressed store, hash-verified
| 159 | * @category constructors |
| 160 | */ |
| 161 | export const unpackSchema = <A, I, R>( |
| 162 | schema: Schema.Schema<A, I, R> |
| 163 | ) => |
| 164 | <IE = never, Done = unknown>(): Channel.Channel< |
| 165 | Chunk.Chunk<A>, |
| 166 | Chunk.Chunk<Uint8Array>, |
| 167 | MsgPackError | ParseError | IE, |
| 168 | IE, |
| 169 | Done, |
| 170 | Done, |
| 171 | R |
| 172 | > => Channel.pipeTo(unpack(), ChannelSchema.decodeUnknown(schema)()) |
| 173 | |
| 174 | /** |
| 175 | * @since 1.0.0 |
Callers
nothing calls this directly
Tested by
no test coverage detected