API cuts out before the drawing completes

Hi - I am using the Beardicus Javascript API to draw things with Line-us. I am generating the shapes with JavaScript then sending a long list of commands to Line-us - and it often cuts out before the end.

I wonder if I’m sending too many commands? Is there a limit?

Would batching the commands into smaller groups, staggering the sending of each group, help?

Could there be something else I’m not aware of happening?

Thanks! :slight_smile:

Generally I’ve found the JS library to be pretty good but definitely worth trying batching them to see if that helps.