- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for makeSynchronousCall (0.18 sec)
-
okhttp/src/test/java/okhttp3/DispatcherTest.kt
val a2 = client.newCall(newRequest("http://a/2")) val a3 = client.newCall(newRequest("http://a/3")) val a4 = client.newCall(newRequest("http://a/4")) val t1 = makeSynchronousCall(a1) val t2 = makeSynchronousCall(a2) // We created 4 calls and started 2 of them. That's 2 running calls and 0 queued. ready.await() assertThat(dispatcher.runningCallsCount()).isEqualTo(2)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 12.7K bytes - Viewed (0)