-
-
Notifications
You must be signed in to change notification settings - Fork 147
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
Move Client.Watch inside Client.Attach #803
Conversation
--------- Co-authored-by: karockai <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #803 +/- ##
==========================================
+ Coverage 50.71% 50.81% +0.09%
==========================================
Files 70 70
Lines 10213 10255 +42
==========================================
+ Hits 5180 5211 +31
- Misses 4512 4516 +4
- Partials 521 528 +7 ☔ View full report in Codecov by Sentry. |
5ab07b5
to
1fe58eb
Compare
1fe58eb
to
7b2dd71
Compare
Thank you for your contribution. In JS SDK, there is also a setting for SyncMode as shown in the link below. How about applying them together? |
Is the syncMode feature big? Like I mentioned, I want to keep this PR small. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution. 🙏
I left simple questions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. 👍
What this PR does / why we need it:
Move
Client.Watch()
insideClient.Attach()
to hide it from external interface.This PR also introduces
Client.Subscribe()
which performs similar functionality with other SDKs.This PR is recreated from #593
Which issue(s) this PR fixes:
Address #584
Special notes for your reviewer:
I prefer keeping this PR size as small as possible to wrap up this task on time.
Does this PR introduce a user-facing change?:
Additional documentation:
Checklist: