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

Support network auto recovery #4

Closed
hackerwins opened this issue Feb 2, 2020 · 3 comments
Closed

Support network auto recovery #4

hackerwins opened this issue Feb 2, 2020 · 3 comments

Comments

@hackerwins
Copy link
Member

hackerwins commented Feb 2, 2020

Support network auto recovery

  • Reconnect stream when network is restored
  • Flush local changes after applying them to the server
@hackerwins
Copy link
Member Author

hackerwins added a commit that referenced this issue Feb 22, 2020
 - Reconnect stream when network is restored
 - Flush local changes after applying them to the server
 - #4
@hackerwins
Copy link
Member Author

We cannot receive the error event from the API, but end event is always called, so we apply a workaround to handle it with end event.

e86ab28#diff-f025701c875bdb87fece54a09cb3851aR344

@hackerwins
Copy link
Member Author

iWHcXLVPLQ (1)

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

No branches or pull requests

1 participant