Re: [Async-sig] Asynchronous cleanup is a problem

2016-07-06 Thread Yury Selivanov
> On Jul 6, 2016, at 3:54 PM, David Beazley wrote: > > >> However, as far as I know curio doesn’t have the ability to schedule an >> operation in a synchronous manner by means of something like a Future. Is >> that correct? If there is no way in curio to spawn a task to

Re: [Async-sig] Asynchronous cleanup is a problem

2016-07-06 Thread David Beazley
> However, as far as I know curio doesn’t have the ability to schedule an > operation in a synchronous manner by means of something like a Future. Is > that correct? If there is no way in curio to spawn a task to occur later > without having to await on it, then clearly there is no option but

Re: [Async-sig] Asynchronous cleanup is a problem

2016-07-06 Thread Nathaniel Smith
On Wed, Jul 6, 2016 at 6:42 AM, Cory Benfield wrote: > >> On 6 Jul 2016, at 13:09, David Beazley wrote: >> >> Curio uses asynchronous context managers for much more than closing sockets >> (which frankly is the least interesting thing). For example, they're