dRonin icon indicating copy to clipboard operation
dRonin copied to clipboard

Python API: Move to asyncio, async, await, etc.

Open mlyle opened this issue 6 years ago • 2 comments

Since we're on python 3, use the new syntactic sugar, sugar.

mlyle avatar Apr 28 '18 05:04 mlyle

And use exceptions more for error handling? :stuck_out_tongue:

tracernz avatar May 16 '18 03:05 tracernz

Hmmmm. This is looking like a pain.

Using yield from looks like it requires way too much of a complexity/performance tax for the factoring improvements it can provide in uavtalk.

It looks like moving to an event loop with asyncio would provide some small factoring improvements.

mlyle avatar May 18 '18 17:05 mlyle