Skip to main content

Crate tessera_shard

Crate tessera_shard 

Source
Expand description

Shard routing, state, and async support for Tessera applications.

§Usage

Define route destinations and shard-scoped state for router-driven screens.

Re-exports§

pub use crate::async_support::task_handles;
pub use crate::router::RouterController;
pub use crate::router::RouterDestination;
pub use crate::router::shard_home;
pub use crate::state::ShardState;
pub use crate::state::ShardStateLifeCycle;

Modules§

async_support
Async runtime integration for shard-owned background tasks.
router
Controller-driven shard routing primitives.
state
Shard state handle and storage primitives.

Attribute Macros§

shard
Transforms a function into a shard component that can be navigated to via the routing system and (optionally) provided with a lazily‑initialized per‑shard state.