File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change 1- # Scala Async Project
2-
3- [ ![ Build Status] ( https://secure.travis-ci.org/scala/async.png )] ( http://travis-ci.org/scala/async )
1+ # scala-async [ <img src =" https://img.shields.io/travis/scala/async.svg " />] ( https://travis-ci.org/scala/async ) [ <img src =" https://img.shields.io/maven-central/v/org.scala-lang.modules/scala-async_2.10.svg?label=latest%20release%20for%202.10 " />] ( http://search.maven.org/#search%7Cga%7C1%7Cg%3Aorg.scala-lang.modules%20a%3Ascala-async_2.10 ) [ <img src =" https://img.shields.io/maven-central/v/org.scala-lang.modules/scala-async_2.11*.svg?label=latest%20release%20for%202.11 " />] ( http://search.maven.org/#search%7Cga%7C1%7Cg%3Aorg.scala-lang.modules%20a%3Ascala-async_2.11* )
42
53Note: this branch targets Scala 2.11.x, support for Scala 2.10.x has been moved to [ this branch] ( https://github.com/scala/async/tree/2.10.x ) .
64
75## Quick start
86
9- Add a dependency:
10-
11- ``` scala
12- // SBT
13- libraryDependencies += " org.scala-lang.modules" %% " scala-async" % " 0.9.2"
14- ```
15-
16- Write your first ` async ` block:
7+ After adding a scala-async to your classpath, write your first ` async ` block:
178
189``` scala
1910import ExecutionContext .Implicits .global
@@ -146,6 +137,6 @@ difficult to understand.
146137 - See the [ neg] ( https://github.com/scala/async/tree/master/src/test/scala/scala/async/neg ) test cases for
147138 for constructs that are not allowed in a async block
148139 - See the [ issue list] ( https://github.com/scala/async/issues?state=open ) for which of these restrictions are planned
149- to be dropped in the next milestone .
140+ to be dropped in the future .
150141 - See [ #13 ] ( https://github.com/scala/async/issues/13 ) for why ` await ` is not possible in closures, and for suggestions on
151142 ways to structure the code to work around this limitation.
You can’t perform that action at this time.
0 commit comments