Skip to content

feat: cursor should be async iterable#146

Open
PacoDu wants to merge 1 commit into
williamkapke:masterfrom
PacoDu:feat-async-iterable-cursor
Open

feat: cursor should be async iterable#146
PacoDu wants to merge 1 commit into
williamkapke:masterfrom
PacoDu:feat-async-iterable-cursor

Conversation

@PacoDu

@PacoDu PacoDu commented Mar 3, 2021

Copy link
Copy Markdown

The current implementation of Cursor is not async iterable, i.e. it is not possible to use for await ... of. This PR fixes this issue.

Fixes #138

@teambition-miwenjie

Copy link
Copy Markdown

Test passed in modern node version. Will this merge into master, @williamkapke ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

getting error "result is not iterable" while iterating result of ".find() of mocked data

2 participants