Package org.apache.groovy.runtime.async
package org.apache.groovy.runtime.async
Runtime support for async/await expressions. Provides continuation-passing style transformation and execution framework.
-
ClassesClassDescriptionClosure-specific async utilities that have no pure-Java equivalent.Internal runtime support for the
async/await/deferlanguage features.DefaultActor<T>Default implementation ofActorusing a dedicated thread and aLinkedBlockingQueuefor message processing.Default lock-based implementation ofAsyncChannel.Default implementation ofAsyncScopeproviding structured concurrency with configurable failure policy.Default implementation ofPool.Adapter forFlow.Publisher, the JDK's built-in Reactive Streams type.A producer/consumer bridge for async generators (yield return).DefaultAwaitableimplementation backed by aCompletableFuture.ScopedLocal<T>A thread-scoped value holder that abstracts overThreadLocal(JDK < 25) andjava.lang.ScopedValue(JDK 25+), presenting a unified API modelled afterScopedValue.