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, 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

Assignee

Unassigned

Reporter

Sean Corfield

Approval

Triaged

Priority

Major