Skip to content

Commit

Permalink
Add a link to okhttp3 ExecuteAsync
Browse files Browse the repository at this point in the history
  • Loading branch information
lauzadis committed Sep 13, 2024
1 parent 6ac6641 commit 263e94a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ public class OkHttp4Engine(
}
}

// Copied from okhttp3 5.0.0-alpha.14
// Copied from okhttp3 5.x:
// https://github.com/square/okhttp/blob/d58da0a65b7f9cdbdf25b198e804153164ae729f/okhttp-coroutines/src/main/kotlin/okhttp3/coroutines/ExecuteAsync.kt
@ExperimentalCoroutinesApi // resume with a resource cleanup.
private suspend fun Call.executeAsync(): Response =
suspendCancellableCoroutine { continuation ->
Expand Down

0 comments on commit 263e94a

Please sign in to comment.