Lines Matching defs:loop
27 def current_task(loop=None): argument
34 def all_tasks(loop=None): argument
44 def _all_tasks_compat(loop=None): argument
74 def current_task(cls, loop=None): argument
90 def all_tasks(cls, loop=None): argument
101 def __init__(self, coro, *, loop=None): argument
335 async def wait(fs, *, loop=None, timeout=None, return_when=ALL_COMPLETED): argument
371 async def wait_for(fut, timeout, *, loop=None): argument
428 async def _wait(fs, timeout, return_when, loop): argument
471 async def _cancel_and_wait(fut, loop): argument
488 def as_completed(fs, *, loop=None, timeout=None): argument
555 async def sleep(delay, result=None, *, loop=None): argument
573 def ensure_future(coro_or_future, *, loop=None): argument
614 def __init__(self, children, *, loop=None): argument
634 def gather(*coros_or_futures, loop=None, return_exceptions=False): argument
743 def shield(arg, *, loop=None): argument
796 def run_coroutine_threadsafe(coro, loop): argument
830 def _enter_task(loop, task): argument
838 def _leave_task(loop, task): argument