[QGIS-Developer] asyncio in plugins?

David Marteau dmarteau at 3liz.com
Tue Mar 23 12:47:57 PDT 2021


Hi,

Asynchronous python code with asyncio assume that you have an ioloop 
running in a blocking way in your python code:
that means that no other code (in the same thread) cannot run 
concurrently with your async tasks while your loop is running.

David

Le 23/03/2021 à 20:28, Sebastian M. Ernst a écrit :

> Hi all,
>
> has anyone made any (positive or negative) experiences with using
> `asyncio`-enabled [1] code in QGIS plugins?
>
> Best regards,
> Sebastian
>
>
> 1: https://docs.python.org/3/library/asyncio.html
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the QGIS-Developer mailing list