-
Notifications
You must be signed in to change notification settings - Fork 1.8k
refactor: pull CursorStream out of Cursor #2543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
ee06e82
refactor: pull CursorStream out of Cursor
emadum 4d25f65
fix
emadum 3367d29
fix tests
emadum 2e03d42
fix lint
emadum 111eea6
make Cursor an EventEmitter
emadum 4b5e096
refactor: extract ChangeStreamStream from ChangeStream
emadum 7816e3c
fix lint and es2017 examples
emadum b2b93bb
refactor: use symbols
emadum aa838f1
fix isClosed in cursor tests
emadum 8bd8679
add integration_tests_2 to setupDatabase
emadum d7cc008
Revert "refactor: use symbols"
emadum 05ef816
Revert "fix lint and es2017 examples"
emadum 34f350d
Revert "refactor: extract ChangeStreamStream from ChangeStream"
emadum ec08cdc
review feedback
emadum 8290023
fix lint
emadum 50037c4
added new ChangeStream stream resumability test
emadum 6911aa2
skip piped resume test
emadum ef24fa7
fix tests
emadum ddf019c
fix for close after error test
emadum a25ff54
refactor: more consistent handling of final errors via `closeWithError`
emadum 157ef99
refactor: use Symbol for ChangeStreamCursor's internal CursorStream
emadum f684bf1
Merge remote-tracking branch 'origin/master' into NODE-2820/remove-re…
emadum 19117f0
fix merge
emadum 2ccf60c
Apply suggestions from code review
emadum 14b14fa
review feedback, round one
emadum 2ed1705
remove unnecessary close override
emadum 7714317
review feedback, round 2
emadum aa5fa57
Merge remote-tracking branch 'origin/master' into NODE-2820/remove-re…
emadum 13bd377
review feedback
emadum af4c41d
fix test
emadum 237b221
matt's fixes
emadum d6ac058
hacky fix for test
emadum 34254be
better fix
emadum 12d0901
fix lint
emadum 05b919a
fix
emadum 2684620
revert and skip async iterator test
emadum 486b4ac
skip all async iterator tests pending NODE-2590
emadum 94f08e0
Merge remote-tracking branch 'origin/master' into NODE-2820/remove-re…
emadum 174a475
add comment explaining skipped test
emadum 25cf9fd
add comment explaining skipped test
emadum cdd1397
remove triggerError on public API
mbroadst 175ed39
revert test and style changes
mbroadst File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.