run function does not return value
lordi opened this issue · comments
Hannes Gräuler commented
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
.
Matthias Urlichs commented
Fix committed, commit d300ff8