An AsyncScheduler
schedules tasks to happen in the future with the
given ScheduledExecutorService
and the tasks themselves are executed on
the given ExecutionContext
.
An ExecutorScheduler is for building a
Scheduler out of a ScheduledExecutorService
.
A scheduler meant for testing purposes.
An
AsyncScheduler
schedules tasks to happen in the future with the givenScheduledExecutorService
and the tasks themselves are executed on the givenExecutionContext
. It's a convenient way to piggyback on an existing execution context.