You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running this directly (using main()) works well, but calling server = WebsocketServer(); server.start() does not.
I'm starting a new event loop because without calling run_forever() the server isn't able to accept connections, and with it the API client (the matlab) is blocked. This approach also doesn't work, and I can't seem to understand why.
I guess it's more of an asyncio question but it's heavily related to the library, hope you can help. Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to use this library and essentially export a synchronous API, and thus creating a library to be used from matlab.
Essentially, I want
start()
,stop()
,send()
,recv()
functions, where queues will be used in order to make thesend()
&recv()
sync.My current code (simplified) is:
Running this directly (using
main()
) works well, but callingserver = WebsocketServer(); server.start()
does not.I'm starting a new event loop because without calling
run_forever()
the server isn't able to accept connections, and with it the API client (the matlab) is blocked. This approach also doesn't work, and I can't seem to understand why.I guess it's more of an
asyncio
question but it's heavily related to the library, hope you can help. Thanks!The text was updated successfully, but these errors were encountered: