kopia lustrzana https://github.com/micropython/micropython-lib
asyncio_micro: Support just plain "yield" for cooperative control yield.
rodzic
d0d2810b0c
commit
4af1cf5a30
|
@ -82,6 +82,9 @@ class EventLoop:
|
|||
self.remove_writer(ret.obj.fileno())
|
||||
elif isinstance(ret, type_gen):
|
||||
self.call_soon(ret)
|
||||
elif ret is None:
|
||||
# Just reschedule
|
||||
pass
|
||||
else:
|
||||
print(ret, type(ret))
|
||||
assert False
|
||||
|
|
Ładowanie…
Reference in New Issue