pages-to-stream

1.0.3 • Public • Published

pages-to-stream

Create a new RxStream from pages generator.

# action:: pageToken -> Promise({items, nextPageToken})
action = (page = null) -> getPage(page).then( (items) -> {items, newPage} )

aRxStream = new FromPages(action).stream()

Readme

Keywords

none

Package Sidebar

Install

npm i pages-to-stream

Weekly Downloads

78

Version

1.0.3

License

MIT

Last publish

Collaborators

  • gastonprieto18