from Domain Async
fun fromDomainAsync(domain: String, loader: CsafLoader = lazyLoader): CompletableFuture<RetrievedAggregator>
Retrieves a RetrievedAggregator asynchronously from the provided domain.
Return
A CompletableFuture that wraps a RetrievedAggregator instance upon success, or the thrown Throwable in case of an error.
Parameters
domain
The domain to retrieve the aggregator from.
loader
An optional CsafLoader instance. Defaults to lazyLoader.