Update stream.d.ts so Stream extends AsyncIterable<Quad>#39
Conversation
it might be a good idea to have it extend from stream.Readable too, but this is less opinionated. (node Readable implements AsyncIterable<Q>)
|
|
wdyt @rubensworks ? |
|
re #6 |
|
Would be so handy! 👌 |
|
The types should always follow the WebIDL definitions in the specifications. Therefore, the stream spec would be the right place to discuss this topic. If you consider making a proposal, address the concerns regarding performance expressed by the author of a widely used RDF/JS package. |
|
@gobengo I agree this could be useful, but as mentioned by @bergos, we should first add this to the streams spec, which requires concensus in the RDF/JS that this is the direction we want to go towards. |
it might be a good idea to have it extend from stream.Readable too, but this is less opinionated. (node Readable implements AsyncIterable