-
Paul Slaughter authored
**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);`
**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);`