[−][src]Module may::coroutine
Structs
Builder | Coroutine factory, which can be used in order to configure the properties of a new coroutine. |
JoinHandle | A join handle to a coroutine |
Enums
ParkError |
Functions
current | Gets a handle to the coroutine that invokes it. it will panic if you call it in a thead context |
is_coroutine | if current context is coroutine |
park | block the current coroutine until it's get unparked |
park_timeout | timeout block the current coroutine until it's get unparked |
scope | Create a new |
sleep | block the current coroutine until timeout |
spawn⚠ | Spawns a new coroutine, returning a |
trigger_cancel_panic | |
yield_now |