5 ms·
> sorts and prints the latest results at a regular interval Slightly more complicated than that, because you can only sort and print elements once you have _al
by jcparkyn 2y ago
> sorts and prints the latest results at a regular interval
Slightly more complicated than that, because you can only sort and print elements once you have _all_ the elements that came before them. Once you add that layer you've got quite a lot more code (and potential for mistakes) than the promises version.