Package: effect
Module: Schema
A schema that tracks the decoded type T and the Effect services required
during decoding (RD).
When to use
Use when you need to preserve a schema’s decoded type and decoding service requirements, but do not need to constrain its encoded representation or encoding services.
See
Codec for preserving both decoded and encoded type information.Encoder for the encode-only view.Signature
export interface Decoder<out T, out RD = never> extends Schema<T> {
readonly "Encoded": unknown
readonly "DecodingServices": RD
readonly "EncodingServices": unknown
readonly "Rebuild": Decoder<T, RD>
}
Since v4.0.0