You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a situation where I'm parsing a JSON stream, and for each node event, I'd like to fire off an HTTP request and get its response before pushing some data off on to a separate stream. Something like:
But it seems that this will fire off as many HTTP requests in a row as it can without waiting for the responses, since the .node callback is technically complete right away (and the Promise resolves later).
Is there a way to indicate to oboe when the callback is actually done?
The text was updated successfully, but these errors were encountered:
I have a situation where I'm parsing a JSON stream, and for each
node
event, I'd like to fire off an HTTP request and get its response before pushing some data off on to a separate stream. Something like:But it seems that this will fire off as many HTTP requests in a row as it can without waiting for the responses, since the
.node
callback is technically complete right away (and thePromise
resolves later).Is there a way to indicate to
oboe
when the callback is actually done?The text was updated successfully, but these errors were encountered: