[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#942132: ITP: python-nest-asyncio -- Patch asyncio to allow nested event loops



>>>>> "Diego" == Diego M Rodriguez <diego@moreda.io> writes:

    Diego> nested. This presents a practical problem: When in an
    Diego> environment where the event loop is already running it's
    Diego> impossible to run tasks and wait for the result.

The above description should be improved.
Because it's fairly easy to  run a task and wait for the result:

await coroutine_or_task
will run a coroutine or task and await the result within any async
function.

You perhaps mean that it is difficult for non-asynchronous code to run
tasks and wait for the result.
If so, please say that.


--Sam


Reply to: