Module may::coroutine
[−]
[src]
Structs
Builder |
///////////////////////////////////////////////////////////////////////////// Builder ///////////////////////////////////////////////////////////////////////////// Coroutine configuration. Provides detailed control over the properties and behavior of new coroutines. |
JoinHandle |
A join handle to a coroutine |
Enums
ParkError |
Functions
current |
Gets a handle to the thread that invokes it. |
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 |
///////////////////////////////////////////////////////////////////////////// Free functions ///////////////////////////////////////////////////////////////////////////// |
trigger_cancel_panic | |
yield_now |