How to handle open ended pagination using reactive streams?
问题 I am using RxJS for all async request handling in my redux application. One thing in particular I am using it for is enumerating all the results from a paginated AWS API. Those APIs generally do not allow random page jumping, one must call the API with a special token ( nextToken ) from the previous call and follow the sequence. The list is complete when there is no nextToken sent with the response. What I would like to do is have a stream of the partial page results that I can at the end