3 ms·
I would ask : What is the benefit of operations.js vs promises? Similar to the examples you can easily do : promiseA.then(promiseB).done( ... )
by drinchev 12y ago
I would ask : What is the benefit of operations.js vs promises?
Similar to the examples you can easily do :
promiseA.then(promiseB).done( ... )
- mtford 12y agoYeah, operations.js is meant for more complex scenarios than that. For example if we were spawning hundreds of operations that interact with networks/file systems. We can set an upper limit on concurrent operations using queues and express complex dependencies between them, compose them and cancel them.