- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 56 for on_event (0.06 seconds)
-
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt
private val callback: Callback, ) { private var lastId: String? = null interface Callback { fun onEvent( id: String?, type: String?, data: String, ) fun onRetryChange(timeMs: Long) } /** * Process the next event. This will result in a single call to [Callback.onEvent] *unless* the * data section was empty. Any number of calls to [Callback.onRetryChange] may occur whileCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 4.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/EventSpyImpl.java
*/ @Named @Singleton public class EventSpyImpl implements EventSpy { @Override public void init(Context context) throws Exception {} @Override public void onEvent(Object arg) throws Exception { if (arg instanceof ExecutionEvent ee) { InternalMavenSession session = InternalMavenSession.from(ee.getSession().getSession());Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Nov 29 20:53:26 GMT 2024 - 2.2K bytes - Click Count (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt
} override fun request(): Request = request override fun cancel() { canceled = true call?.cancel() } override fun onEvent( id: String?, type: String?, data: String, ) { listener.onEvent(this, id, type, data) } override fun onRetryChange(timeMs: Long) { // Ignored. We do not auto-retry. }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Oct 03 07:51:20 GMT 2025 - 3.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/eventspy/AbstractEventSpy.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 1.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Listener.java
* TODO: open this to other events like similar to {@code org.apache.maven.eventspy.EventSpy} * * @since 4.0.0 */ @Experimental @FunctionalInterface @Consumer public interface Listener { void onEvent(@Nonnull Event event);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Mar 23 05:29:39 GMT 2023 - 1.2K bytes - Click Count (0) -
.teamcity/src/main/kotlin/vcsroots/VcsRoots.kt
import jetbrains.buildServer.configs.kotlin.CheckoutMode import jetbrains.buildServer.configs.kotlin.VcsSettings fun VcsSettings.useAbsoluteVcs(absoluteId: String) { root(AbsoluteId(absoluteId)) checkoutMode = CheckoutMode.ON_AGENT this.cleanCheckout = cleanCheckout showDependenciesChanges = true
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 20 06:13:56 GMT 2025 - 391 bytes - Click Count (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
bus.register(objCatcher); bus.register(compCatcher); // Two additional event types: Object and Comparable<?> (played by Integer) Object objEvent = new Object(); Object compEvent = 6; bus.post(EVENT); bus.post(objEvent); bus.post(compEvent); // Check the StringCatcher... List<String> stringEvents = stringCatcher.getEvents();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/EventBusTest.java
bus.register(objCatcher); bus.register(compCatcher); // Two additional event types: Object and Comparable<?> (played by Integer) Object objEvent = new Object(); Object compEvent = 6; bus.post(EVENT); bus.post(objEvent); bus.post(compEvent); // Check the StringCatcher... List<String> stringEvents = stringCatcher.getEvents();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.6K bytes - Click Count (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/EventSourceListener.kt
* events. */ open fun onOpen( eventSource: EventSource, response: Response, ) { } open fun onEvent( eventSource: EventSource, id: String?, type: String?, data: String, ) { } /** * No further calls to this listener will be made. */
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Oct 03 07:51:20 GMT 2025 - 1.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/DefaultArtifactHandlerManager.java
this.typeRegistry = requireNonNull(typeRegistry, "null typeRegistry"); this.allHandlers = new ConcurrentHashMap<>(); } @Override public void onEvent(Object event) { if (event instanceof ExecutionEvent executionEvent) { if (executionEvent.getType() == ExecutionEvent.Type.SessionEnded) { allHandlers.clear(); } }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 08:42:00 GMT 2025 - 3.4K bytes - Click Count (0)