# Package org.apache.groovy.runtime.async

## Package org.apache.groovy.runtime.async Description

Runtime support for async/await expressions. Provides continuation-passing style transformation and execution framework.

- Class Summary
  Class | Description
  --- | ---
  AsyncClosureUtils | Closure-specific async utilities that have no pure-Java equivalent.
  AsyncSupport | Internal runtime support for the `async`/`await`/`defer` language features.
  DefaultActor | Default implementation of Actor.
  DefaultAsyncChannel | Default lock-based implementation of AsyncChannel.
  DefaultAsyncScope | Default implementation of AsyncScope providing structured concurrency with configurable failure policy.
  DefaultPool | Default implementation of Pool.
  FlowPublisherAdapter | Adapter for Publisher, the JDK's built-in Reactive Streams type.
  GeneratorBridge | A producer/consumer bridge for async generators (`yield return`).
  GroovyPromise | Default Awaitable implementation backed by a CompletableFuture.
  ScopedLocal | A thread-scoped value holder that abstracts over ThreadLocal (JDK < 25) and `java.lang.ScopedValue` (JDK 25+), presenting a unified API modelled after `ScopedValue`.
  ScopedLocal.Carrier | An immutable set of scoped-local bindings that can be applied atomically for the duration of a Runnable or Supplier.