BrightFutures v3.0.0-beta.4 Release Notes
-
- The implementation of
mapError
now explicitly usesImmediateExecutionContext
, fixing unnecessary asynchronicity - โ Adds
delay(interval: NSTimeInterval)
onAsync
, which produces a newAsync
that completes with the original Async after the given delay - ๐ All FutureUtils free functions are now functions in extensions of the appropriate types (e.g. SequenceType)
InvalidationToken
instances now have avalidContext
property which is anExecutionContext
that can be passed to any function that accepts anExecutionContext
to make the effect of that function depend on the validity of the token.- โ Added support for
NSOperationQueue
as anExecutionContext
- The implementation of