Parallel Operator
Rocket.parallel — Function
parallel()Creates a parallel operator, which schedules the source observable on a ThreadsScheduler. Each emission from the source is then delivered on a separate thread. This is a shorthand for schedule_on(ThreadsScheduler()).
See also: ThreadsScheduler, AbstractScheduler
Description
The parallel operator schedules the source observable on a ThreadsScheduler, so each emission is delivered on a separate thread. It is a shorthand for scheduling on threads and is useful when you want to move work off the current thread.