Re: Future feedback

On 5/16/13 6:52 PM, Sean Hogan wrote:
> So what would be the problem if `setImmediate()` just appended to the
> futures task source?

None per se, except to the extent that you want to have different 
priority settings for setImmediate and futures or to the extent that you 
want some sort of ordering guarantees between setImmediate and something 
other than futures.

Basically, the point of task sources is to take things that should 
behave in a FIFO manner and group them together.  Tasks which should 
delay each other should go in a single task source, while tasks whose 
timing is unrelated should go in different task sources.

-Boris

Received on Friday, 17 May 2013 02:03:45 UTC