Interface AsyncItems<T,R>

Type Parameters:
T - the input type accepted by the function
R - the type of elements contained in the resulting iterable
All Superinterfaces:
Function<T, Promise<Iterable<R>>>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface AsyncItems<T,R> extends Function<T, Promise<Iterable<R>>>
A functional interface that represents an asynchronous computation yielding an iterable result. It extends the Function interface, allowing it to accept an input of type T and return a Promise that resolves to an Iterable of type R.

The purpose of AsyncItems is to define a contract for handling operations where a computation produces multiple results asynchronously, encapsulated in a Promise.

See Also: