PyDocs

Nav

Python Runtime Services

coroutine.send

builtins

method
  • coroutine.send(value)
Starts or resumes execution of the coroutine. If value is None, this is equivalent to advancing the iterator returned by __await__(). If value is not None, this method delegates to the send() method of the iterator that caused the coroutine to suspend. The result (return value, StopIteration, or other exception) is the same as when iterating over the __await__() return value, described above.
0 Examples
No examples for builtins/coroutine.send.
See Also
No see-alsos for builtins/coroutine.send
0 Notes
No notes for coroutine.send