File tree 1 file changed +18
-0
lines changed
1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,24 @@ Note: this branch targets Scala 2.11.x, support for Scala 2.10.x has been moved
4
4
5
5
## Quick start
6
6
7
+ To include scala-async in an existing project use the library published on Maven Central.
8
+ For sbt projects add the following to your build definition - build.sbt or project/Build.scala:
9
+
10
+ ``` scala
11
+ libraryDependencies += " org.scala-lang.modules" %% " scala-async" % " 0.9.5"
12
+ ```
13
+
14
+ For Maven projects add the following to your <dependencies > (make sure to use the correct Scala version prefix, _ 2.10 or _ 2.11,
15
+ to match your project’s Scala version):
16
+
17
+ ``` scala
18
+ <dependency >
19
+ <groupId >org.scala- lang.modules</groupId >
20
+ <artifactId >scala- async_2.11 </artifactId >
21
+ <version >0.9.5 </version >
22
+ </dependency >
23
+ ```
24
+
7
25
After adding a scala-async to your classpath, write your first ` async ` block:
8
26
9
27
``` scala
You can’t perform that action at this time.
0 commit comments