Repository navigation
Replies: 2 comments 7 replies
|
I tried the same as in this example with a background thread and using the same emit as above: Could the invocation of the callback function have something to do with it? |
0 replies
|
You need to pass the namespace explicitly, because when you don't pass it the emit tries to get it from the context. Basically, add |
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I want to emit from a callback function which is invoked by another python module.
This example is working fine.
change_clbis a function which I pass to another python module. I can see the log messages, but not the messages in the websocket.Any idea what I'm doing wrong or what needs to be considered when emitting from outside a request context?
All reactions