Update simple_poll with timeout 0 and object arg
**Why timeout 0?** Sometimes we want to poll without timing out. **Why an object argument?** It's helpful to pass these extra properties by name. `simplePoll(cb, { timeout: 0 })` is nicer than `simplePoll(cb, undefined, 0);`
Showing
Please register or sign in to comment