Run a coroutine. Like run(), but returns a promise that resolves with the result of the coroutine.
(coro)
| 20 | |
| 21 | |
| 22 | def spawn(coro): |
| 23 | """ |
| 24 | Run a coroutine. Like run(), but returns a promise that resolves with |
| 25 | the result of the coroutine. |
| 26 | """ |
| 27 | return _coro_promise(coro) |
| 28 | |
| 29 | |
| 30 | class _Runner: |
no test coverage detected