mirror of
				https://github.com/Rapptz/discord.py.git
				synced 2025-10-31 05:23:03 +00:00 
			
		
		
		
	Yield from parser coroutine instead of making it a task.
This should give us a bit better sequential message processing.
This commit is contained in:
		| @@ -379,7 +379,7 @@ class Client: | ||||
|         else: | ||||
|             result = func(data) | ||||
|             if asyncio.iscoroutine(result): | ||||
|                 utils.create_task(result, loop=self.loop) | ||||
|                yield from result | ||||
|  | ||||
|     @asyncio.coroutine | ||||
|     def _make_websocket(self, initial=True): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user