Home
last modified time | relevance | path

Searched refs:coro (Results 1 – 10 of 10) sorted by relevance

/AliOS-Things-master/components/py_engine/tests/basics/
A Dasync_for2.py.exp5 coro yielded: 21
6 coro yielded: 22
11 coro yielded: 21
12 coro yielded: 22
17 coro yielded: 21
18 coro yielded: 22
23 coro yielded: 21
24 coro yielded: 22
29 coro yielded: 21
30 coro yielded: 22
A Dasync_with2.py.exp3 coro yielded: 11
4 coro yielded: 12
8 coro yielded: 31
9 coro yielded: 32
14 coro yielded: 21
15 coro yielded: 22
A Dasync_await2.py25 coro = f() variable
26 print('return from send:', coro.send(None))
28 coro.send('message from main')
A Dasync_def.py12 coro = foo() variable
14 coro.send(None)
A Dasync_for.py21 async def coro(): function
25 o = coro()
A Dasync_with2.py29 async def coro(): function
35 o = coro()
A Dasync_for2.py41 async def coro(): function
45 o = coro()
/AliOS-Things-master/components/py_engine/engine/extmod/uasyncio/
A Dcore.py141 def create_task(coro): argument
142 if not hasattr(coro, "send"):
144 t = Task(coro, globals())
176 t.coro.send(None)
183 t.coro.throw(exc)
221 def run(coro): argument
222 return run_until_complete(create_task(coro))
239 def create_task(coro): argument
240 return create_task(coro)
269 print("future:", context["future"], "coro=", context["future"].coro)
A Dtask.py123 def __init__(self, coro, globals=None): argument
124 self.coro = coro # Coroutine of this Task
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dmoduasyncio.c47 mp_obj_t coro; member
167 self->coro = args[0]; in task_make_new()
233 dest[0] = self->coro; in task_attr()

Completed in 10 milliseconds