ZoomInfo interview question

Implement a js async retry mechanism.