From 9194eae8962323d035f16b15cf7b2bf4d38a8f6a Mon Sep 17 00:00:00 2001 From: arifin-alam <56478832+arifin-alam@users.noreply.github.com> Date: Mon, 14 Oct 2019 00:27:21 +1100 Subject: [PATCH] Align UsingCallbacks documentation to match code Fix documentation to align with /src/tasks/Request2Background.kt --- Introduction to Coroutines and Channels/03_UsingCallbacks.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Introduction to Coroutines and Channels/03_UsingCallbacks.md b/Introduction to Coroutines and Channels/03_UsingCallbacks.md index 178d3e6..53361fe 100644 --- a/Introduction to Coroutines and Channels/03_UsingCallbacks.md +++ b/Introduction to Coroutines and Channels/03_UsingCallbacks.md @@ -15,7 +15,7 @@ We use the `thread` function to start a new thread: ```kotlin thread { - loadContributorsBlocking(req) + loadContributorsBlocking(service, req) } ``` @@ -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)) } ```