I'm new to RxJS, and is learning the Schedulers topic, what confuse me is the difference between queueScheduler and null scheduler.
I have read the RxJS docs and some blogs about this topic.
I thought I've got the idea about the difference, but the following code just break all my 'understandings'.
combineLatest([
// scheduled([1, 2], asyncScheduler), // [1, 10], [2, 10]
// scheduled([1, 2], queueScheduler), // just [2, 10]
from([1, 2]), // just [2, 10]
from([10]),
]).subscribe(console.log);
According to this answer, using the queue scheduler turns the streams somehow 'breadth first', so I was expecting [1, 10], [2, 10] when using the queueScheduler just the same as asyncScheduler in this case.
Any one can explain why this happen, or am I doing something wrong?
Thanks!