The default reporter simply prints the stack trace of the Throwable to System.err.
The default reporter simply prints the stack trace of the Throwable to System.err.
the function for error reporting
Creates an ExecutionContext from the given Executor with the default reporter.
Creates an ExecutionContext from the given Executor with the default reporter.
the Executor to use
the ExecutionContext using the given Executor
Creates an ExecutionContext from the given Executor.
Creates an ExecutionContext from the given Executor.
the Executor to use
a function for error reporting
the ExecutionContext using the given Executor
Creates an ExecutionContext from the given ExecutorService with the default reporter.
Creates an ExecutionContext from the given ExecutorService with the default reporter.
If it is guaranteed that none of the executed tasks are blocking, a single-threaded ExecutorService
can be used to create an ExecutionContext as follows:
import java.util.concurrent.Executors val ec = ExecutionContext.fromExecutorService(Executors.newSingleThreadExecutor())
the ExecutorService to use
the ExecutionContext using the given ExecutorService
Creates an ExecutionContext from the given ExecutorService.
Creates an ExecutionContext from the given ExecutorService.
the ExecutorService to use
a function for error reporting
the ExecutionContext using the given ExecutorService
The explicit global ExecutionContext.
The explicit global ExecutionContext. Invoke global when you want to provide the global
ExecutionContext explicitly.
The default ExecutionContext implementation is backed by a port of
java.util.concurrent.ForkJoinPool.
the global ExecutionContext
Contains factory methods for creating execution contexts.