Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support back-pressure #271

Closed
rogierschouten opened this issue Jun 10, 2015 · 1 comment
Closed

Support back-pressure #271

rogierschouten opened this issue Jun 10, 2015 · 1 comment

Comments

@rogierschouten
Copy link

There seems to be no way to tell a Request to pause emitting 'row' events. This makes it impossible to stream query data onward without causing a large buffer somewhere. The node-mysql adapter for instance has the capability to return a NodeJS ReadableStream which supports back-pressure.

@bretcope
Copy link
Member

The issue is that Tedious doesn't currently support real streaming. @arthurschreiber started a stream based conversion in a pull request which would likely enable Tedious to support what you're looking for. Until that's completed, there's not really a good way to do what you're asking.

I'm going to close this, but feel free to continue discussion on the PR thread.

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

No branches or pull requests

2 participants