public class ReactorAwaitableAdapter
extends Object
implements AwaitableAdapter
Adapter for Project Reactor types, enabling:
await mono — awaits a single-value Monofor await (item in flux) — iterates over a Flux
Auto-discovered via ServiceLoader when groovy-reactor
is on the classpath.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public boolean |
supportsAwaitable(Class<?> type) |
|
public boolean |
supportsIterable(Class<?> type) |
<T> |
public Awaitable<T> |
toAwaitable(Object source) |
<T> |
public Iterable<T> |
toIterable(Object source) |