Sequence

extension Sequence where Element: Operation

Available where Element: Operation

  • Makes every operation in the sequence dependent on the completion of the specified operations.

    Declaration

    Swift

    public func addDependencies(_ dependencies: Operation...)
  • Makes every operation in the sequence dependent on the completion of the specified operations.

    Declaration

    Swift

    public func addDependencies(_ dependencies: [Operation])