Skip to content
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

Feature: currently_syncing #10

Merged
merged 3 commits into from
Dec 1, 2020
Merged

Feature: currently_syncing #10

merged 3 commits into from
Dec 1, 2020

Conversation

dmosorast
Copy link
Collaborator

Description of change

Adds currently_syncing option to get-selected-streams, if the key is contained in the state. Expands tests to cover some common cases for this feature. This is accomplished with a new arity for get-selected-streams to maintain backwards compatibility and provide this feature as an option.

NOTE: The implementation here is explicitly designated to NOT shuffle the streams in the case that a bookmarked stream has been deselected or no longer exists in the catalog. In these cases, syncing will begin from the first stream.

Manual QA steps

  • None, tested using REPL and unit tests

Risks

  • Low, the previous API has been maintained.

Rollback steps

  • revert this branch and bump patch version of library

@dmosorast dmosorast changed the title Adds to for usage Feature: currently_syncing Dec 1, 2020
@dmosorast dmosorast merged commit cce4698 into master Dec 1, 2020
@dmosorast dmosorast deleted the feature/currently-syncing branch December 1, 2020 21:44
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.

None yet

2 participants