rxjava-priority-scheduler icon indicating copy to clipboard operation
rxjava-priority-scheduler copied to clipboard

PriorityScheduler is not an instanceof Scheduler

Open ronshapiro opened this issue 11 years ago • 0 comments

Right now this is because .priority(int) should be called before any scheduling on the scheduler happens. Potential options are to make .priority(int) return this, and each time a new Scheduler.Worker is created, reset the priority back to a normal value, or to set it to an invalid value.

ronshapiro avatar Sep 16 '14 21:09 ronshapiro