Module embedded_runtime::context
source · Expand description
Futures to interrupt the current async context to give timeslices to other pending tasks
Structs§
- A passive future that can be polled once before it becomes ready; useful to suspend the current context and up a timeslice to the runtime/other pending futures
- A future that can be polled once before it becomes ready; useful to cooperatively give up a timeslice to the runtime/other pending futures
Functions§
- A function that can be polled once before it becomes ready; useful to suspend the current context and up a timeslice to the runtime/other pending futures
- A function that can be awaited once before it returns; useful to cooperatively give up a timeslice to the runtime/other pending futures