Skip to content

kristofa/futures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Futures

Example code on the usage of the Twitter Futures api using executable tests.

I created this project when I started using Finagle which makes heavily use of the futures api. It helped my to get familiar with the api without relying on business cricital code.

The tests also help to see sequential vs concurrent execution by executing tests sequentially and logging what happens.

It was useful for me and can be useful for others starting with the Twitter or Scala Futures api. It does by no means cover the complete functionality of the futures api but I implemented the cases I came across and started using myself in production code.

The project uses sbt. So if you have sbt installed you should be able to execute:

sbt compile : Compiles application.

sbt test:compile : Compiles tests.

sbt test : Executes the tests.

sbt eclipse : Create Eclipse project files.

sbt gen-idea : Create IntelliJ IDEA project files.

About

Shows usage of Twitter Futures api.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages