AsyncSequenceCompletion

public enum AsyncSequenceCompletion<Failure> where Failure : Error

Describes how an async sequence has completed.

  • The async sequence finished normally.

    Declaration

    Swift

    case finished
  • The async sequence stopped emitting elements due to the indicated error.

    Declaration

    Swift

    case failure(Failure)