Skip to content

Commit

Permalink
Fixed #2
Browse files Browse the repository at this point in the history
  • Loading branch information
FabrizioBrancati committed Aug 15, 2017
1 parent 0d42a22 commit c438a27
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Sources/Queuer/ConcurrentOperation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import Foundation

/// It allows asynchronous tasks, has a pause and resume states, can be easily added to a queue and can be created with a block.
public class ConcurrentOperation: Operation {
open class ConcurrentOperation: Operation {
/// Operation's execution block.
public var executionBlock: (() -> Void)?

Expand All @@ -40,7 +40,7 @@ public class ConcurrentOperation: Operation {
}

/// Set the Operation as asynchronous.
public override var isAsynchronous: Bool {
open override var isAsynchronous: Bool {
return true
}

Expand All @@ -55,7 +55,7 @@ public class ConcurrentOperation: Operation {
}

/// Set if the Operation is executing.
override public var isExecuting: Bool {
open override var isExecuting: Bool {
return _executing
}

Expand All @@ -70,12 +70,12 @@ public class ConcurrentOperation: Operation {
}

/// Set if the Operation is finished.
public override var isFinished: Bool {
open override var isFinished: Bool {
return _finished
}

/// Start the Operation.
public override func start() {
open override func start() {
_executing = true
execute()
}
Expand Down

0 comments on commit c438a27

Please sign in to comment.