What is FutureLib?

FutureLib is a pure Swift 2 library implementing Futures & Promises inspired by Scala, Promises/A+ and a cancellation concept with CancellationRequest and CancellationToken similar to Cancellation in Managed Threads in Microsoft’s Task Parallel Library (TPL).

FutureLib helps you to write concise and comprehensible code to implement correct asynchronous programs which include error handling and cancellation.

Features:

  • Employs the asynchronous “non-blocking” style.
  • Supports composition of tasks.
  • Supports a powerful cancellation concept by means of “cancellation tokens”.
  • Greatly simplifies error handling in asynchronous code.
  • Continuations can be specified to run on a certain “Execution Context”.

Overview

  • Pricing: Free
  • Resource Link: https://github.com/couchdeveloper/FutureLib
  • Resource Maker: Andreas Grosam
  • Mobile Platform Destination: iOS Apps
  • Mobile Platform Support: Native iOS
  • Programming Languages: Swift
  • CocoaPods: FutureLib
  • Carthage: couchdeveloper/FutureLib