-
Notifications
You must be signed in to change notification settings - Fork 38
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
Output buffer #22
Comments
Hi, the problem is that the |
But isn't the extract_output_buffer written to automatically.var extract_output_buffer = extract_pump.buffer(); indicates it is just a reference to the extract_pump output buffer. per your documentation: So if I got this right here what should happen.
Shouldn't "extract_pump" write from the "extract_input_buffer" to the "extract_output_buffer" and write it to the "extract_output_buffer"? based on your documentation, that is the assumption Of is this only default behavior, when you don't override the "process" function? As a developer, when you use (override) the "process" method, is he/she responsible for writing to the output buffer? If this is the case, can you update the documentation? Please let me know, I am eager to know your answer |
So in the following example, I am trying to take pumpOne's output buffer and make it the input buffer (from()) for pumpTwo. I see the writes going into the output buffer, however,the data does not make it to the second pump. Also, I get a promise error but I am returning a promise from the same library you are using Perhaps you can clarify why:
var datapumps = require('datapumps');
var mssql = require('mssql');
Promise = require('bluebird');
The text was updated successfully, but these errors were encountered: