On Fri, Mar 25, 2016 at 3:56 PM, Marko Rauhamaa <ma...@pacujo.net> wrote:
> Ray Cote <rgac...@appropriatesolutions.com>:
>
>> I’m trying to perform an synchronous task while using asyncio.
>
> You seem to want to do something you shouldn't be doing. Asyncio does
> not tolerate synchronous/blocking calls. You will need to move those in
> separate threads or processes if you can't turn them into asynchronous
> tasks.

That's exactly what run_in_executor does.

-- 
Zach
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to