3 ms·
Basically a promise represents a single (future) value whereas a stream represents zero or more (ordered, future) values. A queue of promises would be similar
by tlrobinson 12y ago
Basically a promise represents a single (future) value whereas a stream represents zero or more (ordered, future) values.
A queue of promises would be similar to a stream.