Mojo module
coroutine
Implements classes and methods for coroutines.
These are Mojo built-ins, so you don't need to import them.
comptime values
AnyCoroutine
comptime AnyCoroutine = __mlir_type.!co.routine``
The MLIR type representing a coroutine handle.
Structs
-
Coroutine: Represents a coroutine. -
RaisingCoroutine: Represents a coroutine that can raise.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!