Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sup/scala-vs-twitter-future

A brief comparison on behavior between Scala Futures and Twitter Futures on fatal exceptions
https://github.com/sup/scala-vs-twitter-future

Last synced: 8 days ago
JSON representation

A brief comparison on behavior between Scala Futures and Twitter Futures on fatal exceptions

Awesome Lists containing this project

README

        

# scala-vs-twitter-future
A brief comparison on behavior between Scala Futures and Twitter Futures on fatal exceptions.

**Summary**
* Scala Future: Fatal exceptions will cause the future to hang. Any awaits on a composition of Scala Futures that involve a fatal exception like a `NonLocalReturnException` or `LinkageError` will never complete.
* Twitter Future: Fatal exceptions will cause the future to be completed exceptionally (Similar to a Java CompletableFuture).