Waitwhile API

(history)