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<Publishers.SetFailureType<Upstream, Failure>, Item, Coder> where Item : Decodable, Coder : TopLevelDecoder, Self.Output == Coder.Input