Skip to content

3.1.0

Compare
Choose a tag to compare
@inamiy inamiy released this 10 May 15:28
· 107 commits to swift/4.0 since this release
  • Add Canceller feature (removal of progress/then handlers) #31
let task = ...
var canceller: Canceller? = nil

task.progress(&canceller) { ... }.then { ... }

// at some point before `task` completes
canceller?.cancel()   // removes progressHandler