OMPromises
OMPromises copied to clipboard
Promises for iOS & OS X
When I run my app with Xcode's Thread sanitizer enabled, I get an issue reported where read access to the 'state' property is not properly guarded (see attached screenshot). This...
When you do [OMPromise any:@[A, B, C]]; and e.g. B is fulfilled. Wouldn't it be cool to cancel A and C. It's not a big deal, but users may expect...
The combinators defined in [Control.Monad](http://hackage.haskell.org/package/base-4.6.0.1/docs/Control-Monad.html) might be potential candidates to port to OMPromises. Check which one might be useful by finding appropriate use-cases and implement them, tests first of course.