Skip to content

Instantly share code, notes, and snippets.

@brikis98
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brikis98/b37fab2e26452877a375 to your computer and use it in GitHub Desktop.
Save brikis98/b37fab2e26452877a375 to your computer and use it in GitHub Desktop.
## Returning futures
While we were using the `Action.apply` builder method to build
actions until now, to send an asynchronous result we need to
use the `Action.async` builder method:
@[async-result](code/ScalaAsync.scala)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment