Hacker News new | ask | show | jobs
by creatornator 3096 days ago
I think you can break the for loop after the function call and it'll end after the wait is successful. Bit of a hack though