@viktorklang: The primary reason why #Scala Futures are not Cancellable is because that makes them not freely sharable. Promises are cancellable. Alice: creates Promise `p` with intent to produce a value. Bob: obtains a reference to `p` from Alice, Bob is now able to complete it Alice: can during the production of the value of `p` interrogate whether `p` has already been completed, and cancel the production of the value. Thus, Promise is a “permission to write a value"  and Future is a "permission to read a value”.

#promise

@viktorklang: The primary reason why #Scala Futures are not Cancellable is because that makes them not freely sharable. Promises are cancellable. Alice: creates Promise `p` with intent to produce a value. Bob: obtains a reference to `p` from Alice, Bob is now able to complete it Alice: can during the production of the value of `p` interrogate whether `p` has already been completed, and cancel the production of the value. Thus, Promise is a “permission to write a value"  and Future is a "permission to read a value”.

#promise

kballard/Tomorrowland: Lightweight Promises for Swift & Obj-C

kballard/Tomorrowland: Lightweight Promises for Swift & Obj-C

#promise

kballard/Tomorrowland: Lightweight Promises for Swift & Obj-C

kballard/Tomorrowland: Lightweight Promises for Swift & Obj-C

#promise

Promises, Promises, Knowing I’d Believe

#promise

Promises, Promises, Knowing I’d Believe

#promise

PromiseKit 6.0 Released

PromiseKit 6.0 Released

#promise

PromiseKit 6.0 Released

PromiseKit 6.0 Released

#promise

promises/index.md at master · google/promises · GitHub

promises/index.md at master · google/promises · GitHub

#ios, #promise

promises/index.md at master · google/promises · GitHub

promises/index.md at master · google/promises · GitHub

#ios, #promise