Expand description
Core state management for asynchronous operations.
This module provides the Bind struct, which is the heart of egui-async. It acts as a
state machine to manage the lifecycle of a Future, from initiation to completion, and
holds the resulting data or error.
Structs§
- Bind
- A state manager for a single asynchronous operation, designed for use with
egui.
Enums§
- State
- Represents the execution state of an asynchronous operation managed by
Bind. - State
With Data - Represents the detailed state of a
Bind, including available data.
Statics§
- ASYNC_
RUNTIME - A lazily initialized Tokio runtime for executing async tasks on non-WASM targets.
- CTX
- A global holder for the
egui::Context, used to request repaints from background tasks. - CURR_
FRAME - The
eguitime of the current frame, updated byEguiAsyncPlugin. - LAST_
FRAME - The
eguitime of the previous frame, updated byEguiAsyncPlugin.
Traits§
- Maybe
Send - A trait alias for
Sendon native targets.