Generic Instance Method

decode(type:decoder:)

Decodes the output from upstream using a specified decoder.

Declaration

func decode<Item, Coder>(type: Item.Type, decoder: Coder) -> Publishers.Decode<Self, Item, Coder> where Item : Decodable, Coder : TopLevelDecoder, Self.Output == Coder.Input

See Also

Encoding and Decoding

func encode<Coder>(encoder: Coder) -> Publishers.Encode<Self, Coder>

Encodes the output from upstream using a specified encoder.