Implement completion/exception handling callbacks for promises and futures

Description

Based on https://dev.clojure.org/display/design/Promises

Discussion on Slack:

Enhance `future`/`promise` to be able to call a function on completion/failure (I'd use promises a lot more if I had this functionality but you can sort of hack around it in ugly ways with futures and/or additional functions/macros).

Environment

None

Activity

Show:

Sean Corfield July 25, 2019 at 5:15 AM

Iā€™m happy with a few macros to add sugar to CompletableFuture at this point https://github.com/worldsingles/commons

Withdrawing this.

Incomplete

Details

Assignee

Reporter

Approval

Triaged

Priority

Created February 21, 2019 at 5:37 PM
Updated July 25, 2019 at 5:16 AM
Resolved July 25, 2019 at 5:16 AM