Aaron Pendley
Aaron Pendley
Interestingly, this compiles fine, and afaict everything chains together fine too: ``` firstly { Promise(0) } .then { _ -> Void in println("1") } .then { _ -> Void in...
Ah yes, sorry. It definitely gives me a compiler error when I try to return a promise when the closure specifies a Void return. I take your point about needing...
I have not yet tested this yet, however the new reference is available at https://itunes.apple.com/us/book/swift-programming-language/id1002622538?mt=11. In this reference, "catch" has been added as a reserved keyword (look in the section...
FWIW: For `catch` replacement, I like `fail` or `failed`. For `defer` replacement I like `deferred()`. My rationale for this is that using the alternate form: `let deferred = Promise.deferred()` seems...