Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
pilgr committed Jan 16, 2017
1 parent c39a7d5 commit 32a6b85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
@@ -1,5 +1,5 @@
# Async/Await
A Kotlin library for Android making writing asynchronous code simpler and more reliable using `async`/`await` approach, like:
A Kotlin library for Android to write asynchronous code in a simpler and more reliable way using `async`/`await` approach, like:

```Kotlin
async {
Expand All @@ -11,7 +11,7 @@ async {
progressBar.visibility = View.INVISIBLE
}
```
As you see in example above, you can write asynchronous code in a imperative style, step by step. Calling `await` to run code in background doesn't lock the UI thread. And execution _continues_ in UI thread after background work is finished. There is no magic, see [how it works](#how-it-works).
As you see in the example above, you can write asynchronous code in a imperative style, step by step. Calling `await` to run code in background doesn't lock the UI thread. And execution _continues_ in UI thread after background work is finished. There is no magic, see [how it works](#how-it-works).

## Dependency
```Groovy
Expand Down

0 comments on commit 32a6b85

Please sign in to comment.