Lines Matching full:runner
62 Runner context manager
65 .. class:: Runner(*, debug=None, loop_factory=None)
82 Basically, :func:`asyncio.run()` example can be rewritten with the runner usage::
88 with asyncio.Runner() as runner:
89 runner.run(main())
101 The runner's default context is used if ``None``.
108 Close the runner.
115 Return the event loop associated with the runner instance.
119 :class:`Runner` uses the lazy initialization strategy, its constructor doesn't
138 1. :meth:`asyncio.Runner.run` installs a custom :const:`signal.SIGINT` handler before
140 2. The :class:`~asyncio.Runner` creates the main task for the passed coroutine for its
146 cleanup. After the main task is cancelled, :meth:`asyncio.Runner.run` raises