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

Add pauseNetwork, unpauseNetwork, stopNetwork #304

Closed
cedvdb opened this issue Apr 11, 2024 · 0 comments
Closed

Add pauseNetwork, unpauseNetwork, stopNetwork #304

cedvdb opened this issue Apr 11, 2024 · 0 comments

Comments

@cedvdb
Copy link
Contributor

cedvdb commented Apr 11, 2024

Related: #93

For testing purpose this would allow:

  • pauseNetwork() puts fake_firestore in a loading state. Any async call, for example documentRef.get() returned future would not resolve until:
  • unpauseNetwork() the async results are unpause
  • stopNetwork() any async call would throw

It seems to me this would furnish a good enough api for things like Related: #93

@cedvdb cedvdb closed this as completed Dec 7, 2024
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