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

Fixup watch and example #40

Merged
merged 1 commit into from
Jan 4, 2022
Merged

Conversation

belltoy
Copy link
Contributor

@belltoy belltoy commented Jan 4, 2022

Return error in watch instead of hard pattern matching. And also enhance watch example codes.

Till now, eetcd provides a wrap over the watch API, but not a Watcher. There is still heavy work to do if users use the watch API directly, like the example. Maybe providing a high-level watcher API would be better.

By the way, @zhongwencool do you have any plan to upgrade gun from 1.3 to 2.0, which provided much more robust error handlings and closer to the HTTP2 specification.

@zhongwencool zhongwencool merged commit 02f77b8 into zhongwencool:master Jan 4, 2022
@zhongwencool
Copy link
Owner

zhongwencool commented Jan 4, 2022

I don't have much time to upgrade gun2.0 in the next 2 months, I would likely accept a PR that upgrade gun to 2.0
:), Thank you very much!

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.

2 participants