Coroutine

类位于 InfEngine.coroutine

描述

协程句柄。代表一个正在运行的协程。

description

构造函数

签名 描述
Coroutine.__init__(generator: Generator, owner: Any = ...) → None

constructors

属性

名称 类型 描述
is_finished bool Returns True if the coroutine has completed. (只读)

properties

示例

# TODO: Add example for Coroutine

example

另请参阅

see_also