Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

Make Cursors instances of stream.Readable #53

Open
Ginden opened this issue Jul 5, 2019 · 1 comment
Open

Make Cursors instances of stream.Readable #53

Ginden opened this issue Jul 5, 2019 · 1 comment

Comments

@Ginden
Copy link

Ginden commented Jul 5, 2019

Streams are widely supported concept. There are many libraries to operate on streams, manage backpressure, map, filter results, pause them etc.

Moreover, since Node 10 stream.Readable automatically support asynchronous iteration protocol.

@btd
Copy link

btd commented Jul 6, 2019

@Ginden i am using node-pg-query-stream for this, it inhertis from Readable and based on cursor. But it does not work for node v12 (but PR exists)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants