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

Coroutine as websocket callback function #91

Open
OmniReality opened this issue Dec 23, 2024 · 1 comment
Open

Coroutine as websocket callback function #91

OmniReality opened this issue Dec 23, 2024 · 1 comment

Comments

@OmniReality
Copy link

There is no way in the web socket when you initialize it to send a coroutine instead of a regular function as the on_message callback. any async is unable to run as part of that or required some workaround.

the change should take place here in my opinion:
https://github.com/coinbase/coinbase-advanced-py/blob/master/coinbase/websocket/websocket_base.py#L508

Copy link

Thank you for reporting! If this is an SDK specific issue, we will look into it and get back to you soon. If this is an API related request, report it in our Advanced API Discord instead (use this invite link if it's your first time accessing the Discord).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant