Making a post to an endpoint that uses generateRepeatedKeyResponse like '/keypress/downtwo', then making another call to '/keypress/downtwo' will cause the second instruction to do nothing. This is because the sequence array is no longer defined for the function. This can be fixed by recreating the array when we call generateRepeatedKeyResponse again.
Making a post to an endpoint that uses generateRepeatedKeyResponse like '/keypress/downtwo', then making another call to '/keypress/downtwo' will cause the second instruction to do nothing. This is because the sequence array is no longer defined for the function. This can be fixed by recreating the array when we call generateRepeatedKeyResponse again.