Fluorine icon indicating copy to clipboard operation
Fluorine copied to clipboard

Add a polling method in the IO

Open snowmantw opened this issue 11 years ago • 0 comments

For those polling required method, we should add a polling method like this:

IO().polling('/wait_something', 400, 3, check).done()

It means polling the server with endpoint '/wait_something' every 400ms, and automatically turns failed if it didn't get right answer, which is neither caused by errors (handle by the method implicitly) nor fails to pass the check more than 3 times.

snowmantw avatar Oct 05 '13 16:10 snowmantw