Generic Enumeration

Subscribers.Completion

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

Declaration

@frozen enum Completion<Failure> where Failure : Error

Topics

Completion States

case finished

The publisher finished normally.

case failure(Failure)

The publisher stopped publishing due to the indicated error.

Initializers

init(from: Decoder)

Instance Properties

var hashValue: Int

Instance Methods

func encode(to: Encoder)
func hash(into: inout Hasher)

Relationships

Conforms To

  • Decodable
  • Encodable
  • Equatable
  • Hashable