Contents

transform

An error-throwing closure that receives values from the upstream publisher and returns optional values.

Declaration

let transform: (Upstream.Output) throws -> Output?

Discussion

If this closure throws an error, the publisher fails.

See Also

Inspecting publisher properties