Interface AsyncItems<T,R>
- Type Parameters:
T- the input type accepted by the functionR- the type of elements contained in the resulting iterable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
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:
-
Method Summary