https://regeneratingserumolayfast.blogspot.com/2023/12/forcing-one-javascript-function-to-wait.html
Forcing One Javascript Function To Wait To Run Until The First Has Finished