I imagine someone had run into this already, but didn't find anything yet.
I'm trying to write a bot using this SDK and wondering is it possible to handle multiple thread to better handle concurrent conversations.
I would like to be able to register callback function for different person in different thread, for example, these 2 functions below:
I imagine someone had run into this already, but didn't find anything yet. I'm trying to write a bot using this SDK and wondering is it possible to handle multiple thread to better handle concurrent conversations. I would like to be able to register callback function for different person in different thread, for example, these 2 functions below:
Is it OK to run them in dedicated threads? Or are there better ways?