Contents

Publishers

A namespace for types that serve as publishers.

Declaration

enum Publishers

Overview

The various operators defined as extensions on Publisher implement their functionality as classes or structures that extend this enumeration. For example, the contains(_:) operator returns a Publishers.Contains instance.

Topics

Convenience publishers

Working with subscribers

Mapping elements

Filtering elements

Reducing elements

Applying mathematical operations on elements

Applying matching criteria to elements

Applying sequence operations to elements

Selecting specific elements

Combining elements from multiple publishers

Republishing elements by subscribing to new publishers

Handling errors

Controlling timing

Encoding and decoding

Identifying properties with key paths

Working with multiple subscribers

Buffering elements

Using explicit publisher connections

Debugging

See Also

Publishers