Is it have to be deferToThread ?<br><br>&nbsp;&nbsp; I think so.since if you don't want to block server ,you should let the time-consuming process run in a separate thread from the main one<br><br>And also does dataReceived blocks server by itself?
<br><br>&nbsp;&nbsp; yes, if you have ever hacked implementation of reactor,you will see that reactor just dispatches&nbsp; the data recevied&nbsp; event&nbsp; to correspondent protocol's dataReceived handle.<br>&nbsp;&nbsp; there is a threadable reactor available,but seemingly it is not stable
<br>