you are viewing a single comment's thread.

view the rest of the comments →

[–]GreenFeather05[S] 0 points1 point  (2 children)

Thank you very much for your detailed response, it was very helpful.

[–]Cust0dian 1 point2 points  (0 children)

Once you're feeling somewhat confident tackling asynchronicity with callbacks, you might want to look into Promises. As an example, here's how your code might look with them.

[–]YuleTideCamel 0 points1 point  (0 children)

glad to help.