Protocol

CustomCombineIdentifierConvertible

A protocol for uniquely identifying publisher streams.

Declaration

protocol CustomCombineIdentifierConvertible

Overview

If you create a custom Subscription or Subscriber type, implement this protocol so that development tools can uniquely identify publisher chains in your app. If your type is a class, Combine provides an implementation of combineIdentifier for you. If your type is a structure, set up the identifier as follows:

let combineIdentifier = CombineIdentifier()

Topics

Identifying Publisher Streams

var combineIdentifier: CombineIdentifier

A unique identifier for identifying publisher streams.

Required. Default implementation provided.

Relationships

Inherited By

See Also

Debugging Identifiers

struct CombineIdentifier

A unique identifier for identifying publisher streams.