Decoder
extension Decoder
-
Accesses the previously-injected decoding state of type
T.Precondition
selfis the product of someStatefulDecodereon whiche.setState(s)has been called, whereshas typeT.Declaration
Swift
public subscript<T>(state state: T.Type) -> T where T : Sendable { get nonmutating set }
View on GitHub