I need the pause and play functionality of the lightningchart lib curves in JavaScript

enter image description here
The back sends me an array of numbers and I take these numbers and display the ‘ECG’ type curves in the same way as in the documentation, perfect! This works, but I need the functionality to pause (stop the display of the curves) and play (unlock the display of the curves and the function continues consuming the array of numbers where it was paused). I’m asking you to help me with this… do you have a ready-made feature? If not, could you give me an idea of how to do it?

I tried this output from this example:
https://github.com/Arction/lcjs-showcase-audio
But unfortunately without success