API Reference / Classes / internal / core / Coroutine Coroutine Standard library class internal.core.Coroutine View source class Coroutine @tuple class Coroutine[T] Fields 1 T type Special methods 2 __raw__ @pure @derives @llvm __raw__(self: Self) -> Ptr[u8] Defined in internal.core ret ptr %self __await__ @pure @derives @llvm __await__(self: Self) -> Generator[T] Defined in internal.core ret ptr %self
class Coroutine @tuple class Coroutine[T] Fields 1 T type Special methods 2 __raw__ @pure @derives @llvm __raw__(self: Self) -> Ptr[u8] Defined in internal.core ret ptr %self __await__ @pure @derives @llvm __await__(self: Self) -> Generator[T] Defined in internal.core ret ptr %self