Pause

public class Pause: Operation

This operation class can be used to set delays as a dependency in operation chains.

  • If not cancelled, this method override will set a timer for the specified duration and wait.

    Declaration

    Swift

    public override func main()
  • This operation class can be used to set delays as a dependency in operation chains.

    Declaration

    Swift

    public init(seconds: TimeInterval)

    Parameters

    seconds

    This argumant is passed to specify the TimeInterval of pause in main.