- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for completeExceptionally (0.72 sec)
-
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceFactoryTest.java
} catch (Exception e) { future.completeExceptionally(e); } } @Override public void onEvent(@NotNull EventSource eventSource, @Nullable String id, @Nullable String type, @NotNull String data) { try { assertEquals("hello", data); future.complete(null); } catch (Exception e) { future.completeExceptionally(e); } } @Override
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:47:47 UTC 2025 - 2.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt
val call = client.newCall(request) call.enqueue( object : Callback { override fun onFailure( call: Call, e: IOException, ) { promise.completeExceptionally(e) } override fun onResponse( call: Call, response: Response, ) { promise.complete(response) } }, )
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 8K bytes - Viewed (0)