loading...

Discussion on: Implement a simple chat queue in JavaScript

Collapse
bdougieyo profile image
Brian Douglas Author

That is a great question, I was not aware of the recursion limit, but after a quick search, its 21k on Chrome. If I end up getting that amount of messages at one time on a Twitch stream, I will hit Twitch Partner and be making enough money to pay a developer full time to write some tests for this project.

Aside, OBS uses Chrome as its browser source. stackoverflow.com/questions/280517...

Regarding using a simpler loop, this code was interested in stphnnnn's project. The recursion is preferred because the function can run indefinitely and not start and terminate every time a chat is completed.

Collapse
siscia_ profile image
Simone Mosciatti

I am going to be honest, I have some doubts about the quality of this implementation, but it is great that it works for you :)

Thread Thread
bdougieyo profile image
Brian Douglas Author

Thanks for your honesty