Contents

init(upstream:decoder:)

Creates a publisher that decodes elements received from an upstream publisher, using a given decoder.

Declaration

init(upstream: Upstream, decoder: Coder)

Parameters

  • upstream:

    The publisher from which this publisher receives elements.

  • decoder:

    The decoder that decodes elements received from the upstream publisher.