Le 16/03/2018 à 16:55, Ian Kelly a écrit :
Note that this function can't be called more than once, because it
closes the event loop at the end. Next time you call it it will get
the closed event loop and try to schedule on it and then raise an
exception because it's closed.
Ah ok.
So, if I repl
On Thu, Mar 15, 2018 at 1:35 PM, Julien Salort wrote:
> Because I wanted to keep the synchronous function for scripts which used it,
> without unnecessarily duplicating the code, I built also a synchronous
> function from this new asynchronous one, like that:
>
> def acquire_to_files(self, *args