pages-to-stream
v1.0.3
Published
Create a RxStream from pages generator
Downloads
349
Readme
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()