Skip to content

maxResults for paged iterations, both stream version and non-stream version #493

@jmuk

Description

@jmuk

It is probably handy to support maxResults optional parameter for the paged iterations to cap the number of elements.

This is useful specifically for NodeJS because paged iteration invokes the method calls to reach to the end of the list and then convert it to an array -- other languages like Python or Ruby invoke the method lazily when the newer elements are required.

Metadata

Metadata

Assignees

Labels

priority: p0Highest priority. Critical issue. P0 implies highest priority.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions