Package | Description |
---|---|
ratpack.stream |
Support for reactive streams.
|
Modifier and Type | Method and Description |
---|---|
static <T> TransformablePublisher<T> |
Streams.flatYield(Function<? super YieldRequest,? extends Promise<T>> producer)
Creates a new publisher, backed by the given asynchronous data producing function.
|
static <T> TransformablePublisher<T> |
Streams.yield(Function<? super YieldRequest,? extends T> producer)
Creates a new publisher, backed by the given data producing function.
|