ExecutorAsyncer

class ExecutorAsyncer(executor: Executor) : Asyncer

Asyncer implementation that uses an Executor for async operations with AgentProcess context propagation to worker threads.

Constructors

Link copied to clipboard
constructor(executor: Executor)

Functions

Link copied to clipboard
open override fun <T> async(block: () -> T): CompletableFuture<T>
Link copied to clipboard
open override fun <T, R> parallelMap(items: Collection<T>, maxConcurrency: Int, transform: (t: T) -> R): List<R>