(self_event, other_event)
| 552 | # run_in_executor works with await and not just gen.coroutine |
| 553 | # (simply passing the underlying concurrent future would do that). |
| 554 | async def async_wrapper(self_event, other_event): |
| 555 | return await IOLoop.current().run_in_executor( |
| 556 | None, sync_func, self_event, other_event |
| 557 | ) |
| 558 | |
| 559 | res = yield [async_wrapper(event1, event2), async_wrapper(event2, event1)] |
| 560 |
nothing calls this directly
no test coverage detected