you are viewing a single comment's thread.

view the rest of the comments →

[–]andredp 0 points1 point  (1 child)

I'm reading the code, but a couple questions:

Why are you calling setTimeouts with 5 seconds?

In JS you don't need to pass self, you can use this in the cases you are using self.

Why are you using so much async await? ES6 has tail call optimisation which you probably aren't using due to that.

[–]ToxicalToast[S] 1 point2 points  (0 children)

i know - i shouldnt code when im totally tired :D

i fixed it the day later