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
Expected behavior:
Process runs to completion with success exit code and no output
Actual behavior:
Process exits prematurely with error exit code due to unhandled promise rejection
Additional information:
The [Symbol.asyncIterator] function of MergeAsyncIterable creates a new promise and then yields execution. Should the promise be rejected before execution resumes then no continuation is wired up for that promise causing an unhandled promise rejection which with newer versions of nodejs causes the entire process to exit.
The fix is to first yield the value and then create the new promise.
The text was updated successfully, but these errors were encountered:
IxJS version: 5.0.0
Code to reproduce:
Expected behavior:
Process runs to completion with success exit code and no output
Actual behavior:
Process exits prematurely with error exit code due to unhandled promise rejection
Additional information:
The [Symbol.asyncIterator] function of MergeAsyncIterable creates a new promise and then yields execution. Should the promise be rejected before execution resumes then no continuation is wired up for that promise causing an unhandled promise rejection which with newer versions of nodejs causes the entire process to exit.
The fix is to first yield the value and then create the new promise.
The text was updated successfully, but these errors were encountered: