You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -328,7 +331,8 @@ fun loadContributorsCallbacks(
328
331
*The logic for handling the responses is extracted into callbacks: the corresponding lambdas start at lines `#1` and `#2`.
329
332
330
333
However, the provided solution doesn't work. If you run the program and load contributors by choosing the _CALLBACKS_
331
-
option, you'll see that nothing is shown. However, the tests that immediately return the result pass.
334
+
option, you'll see that nothing is shown. However, the test from `Request3CallbacksKtTest` immediately returns the result
335
+
that it successfully passed.
332
336
333
337
Think about why the given code doesn't work as expected and try to fix it, or see the solutions below.
334
338
@@ -1206,8 +1210,8 @@ When the channel is full, the next `send` call on it is suspended until more fre
1206
1210
<def title="Rendezvous channel">
1207
1211
<p>The"Rendezvous" channel is a channel without a buffer, the same as a buffered channel with zero size.
1208
1212
One of the functions (<code>send()</code>or<code>receive()</code>) is always suspended until the other is called. </p>
1209
-
<p>If the <code>send()</code> function is called and there's no suspended <code>receive</code> call ready to process the element, then <code>send()</code>
1210
-
is suspended. Similarly, if the <code>receive</code> function is called and the channel is empty or, in other words, there's no
1213
+
<p>If the <code>send()</code> function is called and there's no suspended <code>receive()</code> call ready to process the element, then <code>send()</code>
1214
+
is suspended. Similarly, if the <code>receive()</code> function is called and the channel is empty or, in other words, there's no
1211
1215
suspended <code>send()</code> call ready to send the element, the <code>receive()</code> call is suspended. </p>
1212
1216
<p>The"rendezvous" name ("a meeting at an agreed time and place") refers to the fact that <code>send()</code>and<code>receive()</code>
0 commit comments