From 3710cff518f7aea14d4f1d93037a306e629f8af7 Mon Sep 17 00:00:00 2001 From: kdnakt Date: Wed, 10 Feb 2021 15:34:07 +0900 Subject: [PATCH] Add missing parameter --- Introduction to Coroutines and Channels/03_UsingCallbacks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Introduction to Coroutines and Channels/03_UsingCallbacks.md b/Introduction to Coroutines and Channels/03_UsingCallbacks.md index 716b1cb..ac913e9 100644 --- a/Introduction to Coroutines and Channels/03_UsingCallbacks.md +++ b/Introduction to Coroutines and Channels/03_UsingCallbacks.md @@ -34,7 +34,7 @@ fun loadContributorsBackground(service: GitHubService, req: RequestData, Now when the `loadContributorsBackground` is called, the `updateResults` call goes in the callback, not immediately afterwards as it did before: ```kotlin -loadContributorsBackground(req) { users -> +loadContributorsBackground(service, req) { users -> SwingUtilities.invokeLater { updateResults(users, startTime) }