diff options
author | Philipp Haller <hallerp@gmail.com> | 2013-06-30 12:15:43 -0700 |
---|---|---|
committer | Philipp Haller <hallerp@gmail.com> | 2013-06-30 12:15:43 -0700 |
commit | 876ec8cfb39c60932b99a6985fc86737fb99b85e (patch) | |
tree | 6a1286dbe6f8c46749c9b866134249ed8d46faea | |
parent | f41769c00a47917d82c0c73ef8eba4c71f919092 (diff) | |
download | scala-async-tutorial.tar.gz scala-async-tutorial.tar.bz2 scala-async-tutorial.zip |
Fix typos and formattingtutorial
-rw-r--r-- | doc/tutorial.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/tutorial.md b/doc/tutorial.md index b1cb5a8..f509fa6 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -16,7 +16,7 @@ imported. (In a future stable release, these members might be moved to the `scala.async` package object.) A language import to enable macros is not required for users of async/await. -## The async construct +## The `async` Construct The `async` construct has the following signature: @@ -31,7 +31,7 @@ compilation fails. (Similar to how `future { ... }` works.) The body of `async` may contain calls to `await` which is explained next. -## The `await` construct +## The `await` Construct Calling `await` inside the body of an `async` block suspends the evaluation of the `async` block until a given future is completed |