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
Not true. The read/parse logic could be CPU intensive and block for quite awhile. With promises and async/await, it shouldn't make much difference, except for not blocking the main thread (which is a good thing!).
@mhamann doh! I should have thought about that. I would be satisfied with a promise/asyncawait solution too but then may as well do a total ES8 rewrite. I don't have time for it unfortunately.
There is no reason the parser should run asynchronously when passing raw html as there is no request to be made.
Usage should be something like...
The text was updated successfully, but these errors were encountered: