2 ms·
> So for now I have to write my code in the promise.then(…) style instead of using a proper yield. Well - using ".then()" is the proper way of doing things. Ju
by valenterry 5y ago
> So for now I have to write my code in the promise.then(…) style instead of using a proper yield.
Well - using ".then()" is the proper way of doing things. Just add do-notation and you are good.
Maybe eventually the javascript community will catch up :^)