Module bind

Module bind 

Source
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.
ConfigFlags
Configuration flags for Bind behavior.

Enums§

State
Represents the execution state of an asynchronous operation managed by Bind.
StateWithData
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 egui time of the current frame, updated by EguiAsyncPlugin.
LAST_FRAME
The egui time of the previous frame, updated by EguiAsyncPlugin.

Traits§

MaybeSend
A trait alias for Send on native targets.