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
Yes. But if your async callback has nested promises and awaits for them then you will struggle Events-vs-Promises execution order because sax-js will not pause generation of new events. And there is no pause method to stop events. Even readable stream pause method will not help to achieve synchronous processing.
Hi,
I'm trying to figure out if I can do
sax.createStream().on("opentag", async (node) => { ...
- will sax wait for Promise returned by the callback?I searched code on github for "Promise", "then", "catch" but found nothing, so I suppose it won't?
The text was updated successfully, but these errors were encountered: