Generic Instance Method

encode(encoder:)

Encodes the output from upstream using a specified encoder.

Declaration

func encode<Coder>(encoder: Coder) -> Publishers.Encode<Publishers.Share<Upstream>, Coder> where Coder : TopLevelEncoder
Available when Output conforms to Encodable.