esbtools / event-handler

Notification in, document out.
GNU General Public License v3.0
3 stars 6 forks source link

Add asynchronous 'finally' equivalent to TransformableFuture #39

Closed alechenninger closed 8 years ago

alechenninger commented 8 years ago

This is necessary for cleaning up resources such as locks once an async request/response chain is complete (or fails, or is cancelled).

We never do cancellation in practice but, we are abiding by the future interface so it's there too.

I also fixed a few minor "bugs" (more like misleading code) in the existing future implementation.