Enumeration

Subscribers

A namespace for types that serve as subscribers.

Declaration

enum Subscribers

Topics

Requesting Elements

struct Subscribers.Demand

A requested number of items, sent to a publisher from a subscriber through the subscription.

Receiving Life Cycle Events

enum Subscribers.Completion

A signal that a publisher doesn’t produce additional elements, either due to normal completion or an error.

Using Convenience Subscribers

class Subscribers.Sink

A simple subscriber that requests an unlimited number of values upon subscription.

class Subscribers.Assign

A simple subscriber that assigns received elements to a property indicated by a key path.

See Also

Subscribers

protocol Subscriber

A protocol that declares a type that can receive input from a publisher.

struct AnySubscriber

A type-erasing subscriber.

protocol Subscription

A protocol representing the connection of a subscriber to a publisher.

enum Subscriptions

A namespace for symbols related to subscriptions.