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

Example to illustrate how concurrency can be achieved despite asyncio-incompatible websocket call in client code #218

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

sirEven
Copy link
Contributor

@sirEven sirEven commented Aug 4, 2024

It might be helpful to have this example to show how to achieve concurrency with a simple thread and wrapping the problematic async call to the asyncio-incompatible websocket library.

…bsocket subscriptions by using a simple thread an wrapping the problematic async call.
@samtin0x
Copy link
Contributor

samtin0x commented Aug 4, 2024

Hi @sirEven, thanks for contributing. I'll run the example locally and come back to you

@samtin0x samtin0x requested a review from jiajames August 9, 2024 14:59
@samtin0x samtin0x merged commit 64a9e63 into dydxprotocol:main Aug 14, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants