async def send ( self , data ) : self . writer . write ( data ) await self . writer . drain ( )
python send data between threads
Add data to send queue .
async def send(self, data):
        """ Add data to send queue. """
        self.writer.write(data)
        await self.writer.drain()