Closed gutbash closed 7 months ago
?
?
how do i make the on_message handler async? i need to do some async stuff in there
This extension doesn't add anything called "on_message". Refer to the readme. Everything is listed there. If you need to use something async in a sync function, use one of the usual asyncio mechanisms for it, like run_coroutine_threadsafe
.
oh sorry how about AudioSink.listener()? just use asyncio mechanism?
?