promises

Promises is a modern framework that provides a synchronization construct for Swift and Objective-C.

APACHE-2.0 License

Stars
3.8K
Committers
42

Bot releases are visible (Hide)

promises - 2.3.1 Latest Release

Published by ykjchen about 1 year ago

promises - 2.0.0

Published by ykjchen over 3 years ago

  • Renames await() to awaitPromise().
promises - 1.2.8

Published by over 5 years ago

  • Adds pending promise to FBLPromise's Dot Syntax API and updates parameter type for fulfill:.
  • Updates Promises to Swift 5.
promises - 1.2.7

Published by over 5 years ago

  • Disables Whole Module Optimization (#98).
promises - 1.2.6

Published by over 5 years ago

  • Updates Promises to Xcode 10.2 and integrates with latest SwiftLint checks.
promises - 1.2.5

Published by almost 6 years ago

Updates Promises to Swift 4.2.

promises - 1.2.4

Published by almost 6 years ago

  • Fixes issue 81 where NSError was not being converted to a PromiseError properly.
promises - 1.2.3

Published by about 6 years ago

  • Adds retry operator that enables reattempting a task if the promise for that task is initially rejected.
  • Sets the APPLICATION_EXTENSION_API_ONLY to YES on the project level and defaults the APPLICATION_EXTENSION_API_ONLY flag on targets.
  • Moves SWIFT_VERSION flag from Promise/PromiseTests targets to the Xcode project.
  • Applies extension-safe flag for framework targets.
promises - 1.2.2

Published by over 6 years ago

promises -

Published by shoumikhin over 6 years ago

  • FBLPromiseCatchBlock renamed to FBLPromiseCatchWorkBlock
  • Introduced FBLPromiseErrorIsTimedOut() and FBLPromiseErrorIsValidationFailure() for easier check for predefined FBLPromiseErrorCodes
promises -

Published by shoumikhin over 6 years ago

Swift convenience constructor that accepts a work block and eventually resolves the newly created promise with its return value (aka do operator in Objective-C) is now overloaded and can return another promise, not only a value.

promises -

Published by shoumikhin over 6 years ago

Introducing await and delay operators.

promises -

Published by shoumikhin over 6 years ago

Breaking changes:

  • any renamed to race
  • when renamed to any
  • resolve renamed to wrap