A data source that executes requests that can be performed in parallel in batches but does not further optimize batches of requests that must be performed sequentially.
Constructs a data source from a pure function.
Constructs a data source from a pure function that takes a list of requests and returns a list of results of the same size.
Constructs a data source from a pure function that takes a list of requests and returns a list of results of the same size. Each item in the result list must correspond to the item at the same index in the request list.
Constructs a data source from an effectual function that takes a list of requests and returns a list of results of the same size.
Constructs a data source from an effectual function that takes a list of requests and returns a list of results of the same size. Each item in the result list must correspond to the item at the same index in the request list.
Constructs a data source from a pure function that takes a list of requests and returns a list of optional results of the same size.
Constructs a data source from a pure function that takes a list of requests and returns a list of optional results of the same size. Each item in the result list must correspond to the item at the same index in the request list.
Constructs a data source from an effectual function that takes a list of requests and returns a list of optional results of the same size.
Constructs a data source from an effectual function that takes a list of requests and returns a list of optional results of the same size. Each item in the result list must correspond to the item at the same index in the request list.
Constructs a data source from a function that takes a list of requests and returns a list of results of the same size.
Constructs a data source from a function that takes a list of requests and returns a list of results of the same size. Uses the specified function to associate each result with the corresponding effect, allowing the function to return the list of results in a different order than the list of requests.
Constructs a data source from an effectual function that takes a list of requests and returns a list of results of the same size.
Constructs a data source from an effectual function that takes a list of requests and returns a list of results of the same size. Uses the specified function to associate each result with the corresponding effect, allowing the function to return the list of results in a different order than the list of requests.
Constructs a data source from an effectual function.
Constructs a data source from a pure function that may not provide results for all requests received.
Constructs a data source from an effectual function that may not provide results for all requests received.
Constructs a data source from a function taking a collection of requests
and returning a CompletedRequestMap
.
A data source that never executes requests.