fastapi-socketio icon indicating copy to clipboard operation
fastapi-socketio copied to clipboard

@sio.on decorator not working.

Open shellking4 opened this issue 1 year ago • 2 comments

The @sio.on decorator is not working for me. What am I doing wrong ?

shellking4 avatar Sep 12 '22 16:09 shellking4

here import is not working as suggested in documentation. try running from same file from SocketManager instance

kalmastenitin avatar Sep 14 '22 10:09 kalmastenitin

see that there is not circular import issue in your app. it should work

kalmastenitin avatar Sep 15 '22 07:09 kalmastenitin