Skip to content

Coroutine as websocket callback function #91

@OmniReality

Description

@OmniReality

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions