-
Notifications
You must be signed in to change notification settings - Fork 42
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
What can make an API call [Discussion] #400
Comments
sssoleileraaa
changed the title
Create instance of sdclientapi.API in Queue [Discussion]
What can make an API call [Discussion]
Jun 4, 2019
having one place that mediates network calls / auth state is a good idea... though we do the sync from |
This was referenced Jun 4, 2019
This is an old discussion-only issue from 2019 that hasn't received traction since then, so closing for now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I want to open a discussion issue around where we make api calls from in the client.
We reference the SDK API from many places:
After we move reply and message sync logic to api jobs, we should consider creating the
sdclientapi.API
instance inRunnableQueue
to help separate concerns. If a user logs out, the queue can pause and make sure no api calls are made.The text was updated successfully, but these errors were encountered: