Skip to content
This repository has been archived by the owner on Jan 9, 2020. It is now read-only.

Overdrive v0.3

Latest
Compare
Choose a tag to compare
@saidsikira saidsikira released this 29 Apr 18:04
· 2 commits to master since this release

Breaking

  • Removed default method (empty) implementations of TaskQueueDelegate and TaskCondition methods as they had no real usage and could present problems if signatures are changes.

Fixed

  • Fixed retain cycle when task is added to the queue

  • Fixed state inconsistency when cancelling task

  • Fixed an issue with adding task to a suspended queue

Updates

  • Updated signatures of some methods to conform to Swift 3 API guidelines.
  • You can now throw in onValue(:_) task method. Error will be passed to the onError(:_) method.
  • Added throwable flatMap, flatMapError, map and mapError operators on Result<T> enum.
  • Extended TaskQueueDelegate with taskWillFinishExecution(task:) method

Note: Framework binary is not attached with this release due to the issue with precompiled frameworks
rdar://23551273