- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 409 for Callback (0.05 sec)
-
okhttp/src/main/kotlin/okhttp3/AsyncDns.kt
interface AsyncDns { /** * Query DNS records for `hostname`, in the order they are received. */ fun query( hostname: String, callback: Callback, ) /** * Callback to receive results from the DNS Queries. */ @ExperimentalOkHttpApi interface Callback { /** * Return addresses for a dns query for a single class of IPv4 (A) or IPv6 (AAAA).
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 3.5K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/TearDownStackTest.java
boolean ran = false; @Nullable Callback callback = null; public SimpleTearDown() {} public SimpleTearDown(Callback callback) { this.callback = callback; } @Override public void tearDown() throws Exception { if (callback != null) { callback.run(); } ran = true; } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 21 10:19:29 UTC 2024 - 4.6K bytes - Viewed (0) -
tests/test_sub_callbacks.py
* Send a notification back to the API user (the external developer), as a callback. * At this point is that the API will somehow send a POST request to the external API with the notification of the invoice event (e.g. "payment successful"). """ # Send the invoice, collect the money, send the notification (the callback) return {"msg": "Invoice received"}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 13.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java
ComponentUtil.register(new WebConfigBhv() { @Override public ListResultBean<WebConfig> selectList(final CBCall<WebConfigCB> cbLambda) { cbLambda.callback(cb); final ListResultBean<WebConfig> list = new ListResultBean<>(); list.add((WebConfig) crawlingConfigHelper.getCrawlingConfig("W1"));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 23.2K bytes - Viewed (0) -
okhttp-android/src/test/kotlin/okhttp3/android/ShadowDnsResolver.kt
@Implements(DnsResolver::class) class ShadowDnsResolver { var responder: (Request) -> Unit = { it.callback.onAnswer(listOf(), 0) } data class Request( val network: Network?, val domain: String, val nsType: Int, val flags: Int, val callback: DnsResolver.Callback<List<InetAddress>>, ) @Implementation fun query( network: Network?, domain: String,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 22 20:07:09 UTC 2024 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionQuery.java
void callback(CQ query, CF filter); } @FunctionalInterface public interface OperatorCall<CQ extends EsAbstractConditionQuery> { void callback(CQ query); } @FunctionalInterface public interface ScoreFunctionCall<CC extends ScoreFunctionCreator<?>> { void callback(CC creator); } @FunctionalInterface
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 21.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FluentFuture.java
* java.util.concurrent.CompletableFuture#thenAcceptAsync}. * * @param callback The callback to invoke when this {@code Future} is completed. * @param executor The executor to run {@code callback} when the future completes. */ public final void addCallback(FutureCallback<? super V> callback, Executor executor) { Futures.addCallback(this, callback, executor); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 19.6K bytes - Viewed (0) -
android-test-app/src/main/kotlin/okhttp/android/testapp/MainActivity.kt
* limitations under the License. */ package okhttp.android.testapp import android.os.Bundle import androidx.activity.ComponentActivity import okhttp3.Call import okhttp3.Callback import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.OkHttpClient import okhttp3.Request import okhttp3.Response import okio.IOException class MainActivity : ComponentActivity() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.5K bytes - Viewed (0) -
tests/test_generate_unique_id_function.py
}, }, }, "callbacks": { "post_callback": { "/post-callback": { "post": { "summary": "Post Callback", "operationId": "baz_post_callback",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Jan 13 15:10:26 UTC 2024 - 66.7K bytes - Viewed (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt
| """.trimMargin(), ) assertThat(callbacks).isEmpty() } private fun consumeEvents(source: String) { val callback: ServerSentEventReader.Callback = object : ServerSentEventReader.Callback { override fun onEvent( id: String?, type: String?, data: String, ) { callbacks.add(Event(id, type, data)) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.4K bytes - Viewed (0)