python-trio / trio-asyncio

a re-implementation of the asyncio mainloop on top of Trio
Other
188 stars 37 forks source link

run function does not return value #57

Closed lordi closed 5 years ago

lordi commented 5 years ago

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.

smurfix commented 5 years ago

Fix committed, commit d300ff8