Idiomatic representation of { buffer, bytesRead }

Bergi a.d.bergi at web.de
Thu Mar 5 23:42:40 UTC 2015


Kevin Smith schrieb:
> Should have been:
>
>      source.next(dataView) -> Promise<IteratorResult<DataView>>
>
> which you kind of need anyway  ; )

Wouldn't `.next()` rather need to return an 
IteratorResult<Promise<DataView>>?

  Bergi


More information about the es-discuss mailing list