We have, 

synchronous primitives:
values and list of values(arrays)

synchronous things that give out these primitives:
functions and generators

asynchronous primitives:
promises analogous to values
streams analogous to a list of values

Asynchronous things that give out these primitives: 
Async function (async..await) returns a promise
Async generator (https://github.com/jhusain/asyncgenerator) returns Observable

Where do Observables fit in ? Are they async primitives too ?
And what returns a stream ? 

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to