Skip to content
This repository was archived by the owner on May 17, 2023. It is now read-only.

Align UsingCallbacks documentation to match code #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Introduction to Coroutines and Channels/03_UsingCallbacks.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ We use the `thread` function to start a new thread:

```kotlin
thread {
loadContributorsBlocking(req)
loadContributorsBlocking(service, req)
}
```

Expand Down Expand Up @@ -56,7 +56,7 @@ To fix this, we need to call the `updateResults` on the resulting list of users:

```kotlin
thread {
updateResults(loadContributorsBlocking(req))
updateResults(loadContributorsBlocking(service, req))
}
```

Expand Down