kopia lustrzana https://github.com/micropython/micropython-lib
uasyncio.core: create_task: Fix scheduling.
Should start with zero delay, not at zero absolute time.pull/120/head
rodzic
b3c2d0f51e
commit
f24493b1eb
|
@ -22,7 +22,7 @@ class EventLoop:
|
|||
|
||||
def create_task(self, coro):
|
||||
# CPython 3.4.2
|
||||
self.call_at(0, coro)
|
||||
self.call_later_ms_(0, coro)
|
||||
# CPython asyncio incompatibility: we don't return Task object
|
||||
|
||||
def call_soon(self, callback, *args):
|
||||
|
|
Ładowanie…
Reference in New Issue