repeaterjs / repeater

The missing constructor for creating safe async iterators
https://repeater.js.org
MIT License
459 stars 12 forks source link

call `then` on promise instead of bool in example #59

Closed hwanders closed 4 years ago

hwanders commented 4 years ago

In the example about inverted repeaters, you wrote stopped.then(...) where stopped is a boolean value. I think you meant stop.then(...).

brainkim commented 4 years ago

Great catch, thank you! Will merge and deploy by tomorrow (I haven’t rebuilt the repeater docs in a while). Let me know if you have any other thoughts on the docs in the meantime!