Relative Content

Tag Archive for javascriptasync-awaittimeoutes6-promise

Timeout not calling callback function

I am creating a simple function to wait until a flag is updated. But when I call await until() it only gets called once and the timeout never calls the function again. What am I doing wrong?