Schedule the execution of a coroutine object in a spawn task. Return a Task object.
(coro, **kwargs)
| 387 | |
| 388 | |
| 389 | def create_task(coro, **kwargs): |
| 390 | """Schedule the execution of a coroutine object in a spawn task. |
| 391 | |
| 392 | Return a Task object. |
| 393 | """ |
| 394 | loop = events.get_running_loop() |
| 395 | return loop.create_task(coro, **kwargs) |
| 396 | |
| 397 | |
| 398 | # wait() and as_completed() similar to those in PEP 3148. |
nothing calls this directly
no test coverage detected
searching dependent graphs…