Unlike trio.run, trio_asyncio.run does not return the return value of async_fn. I looked at the code and I can't find any reason why it shouldn't.
I'd prefer that the return value is returned, so that trio_asyncio.run can be used as a drop-in replacement for trio.run.
Unlike
trio.run
,trio_asyncio.run
does not return the return value ofasync_fn
. I looked at the code and I can't find any reason why it shouldn't. I'd prefer that the return value is returned, so thattrio_asyncio.run
can be used as a drop-in replacement fortrio.run
.