fromList static method

Creates a RunnableSequence from a list of Runnable objects.

A RunnableSequence allows you to run multiple Runnable objects sequentially, passing the output of the previous Runnable to the next one.

  • runnables - the list of Runnable objects to run in sequence.

Implementation

static Runnable fromList(final List<Runnable> runnables) {
  return RunnableSequence.from(runnables);
}