Packages

c

monix.execution.schedulers

StartAsyncBatchRunnable

final case class StartAsyncBatchRunnable(start: TrampolinedRunnable, s: Scheduler) extends Runnable with Serializable with Product

Forces a real asynchronous boundary before executing the given TrampolinedRunnable.

Sometimes you want to execute multiple TrampolinedRunnable instances as a batch, with the functionality provided by schedulers implementing BatchingScheduler, however you might need the very first execution to force an asynchronous boundary.

start

is the TrampolinedRunnable instance that will get executed and that is supposed to trigger the execution of other trampolined runnables

s

is the scheduler that gets used for execution.

Source
StartAsyncBatchRunnable.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StartAsyncBatchRunnable
  2. Product
  3. Equals
  4. Serializable
  5. Runnable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new StartAsyncBatchRunnable(start: TrampolinedRunnable, s: Scheduler)

    start

    is the TrampolinedRunnable instance that will get executed and that is supposed to trigger the execution of other trampolined runnables

    s

    is the scheduler that gets used for execution.

Value Members

  1. def productElementNames: Iterator[String]
    Definition Classes
    Product
  2. def run(): Unit
    Definition Classes
    StartAsyncBatchRunnable → Runnable
  3. val s: Scheduler
  4. val start: TrampolinedRunnable