Resumable

public protocol Resumable

The conforming type supports pausing and resuming of an in-process operation. The exact semantics of “pausing” and “resuming” are not defined in the protocol. Specifically, there is no guarantee that a pause results in an immediate suspention of activity, and no guarantee that resume will result in an immediate resumption of activity.

  • Declaration

    Swift

    func pause()
  • Declaration

    Swift

    func resume()