glory_core/lib.rs
1//! The platform-independent, owned incremental runtime for Glory.
2//!
3//! Reactive values belong to a Runtime and an Owner. Reads track only their
4//! immediate consumer; creating a widget does not implicitly subscribe it.
5//! Platform adapters supply execution services and consume semantic mutations.
6
7mod arena;
8/// Ready-only local tasks for native event-loop and streaming hosts. Futures
9/// stay on their creating thread; wakers may be used from worker threads.
10#[cfg(not(target_arch = "wasm32"))]
11pub mod executor;
12mod resource;
13mod runtime;
14
15pub use glory_render::RuntimeId;
16pub use resource::{Resource, ResourceSeed, ResourceState};
17pub use runtime::{
18 AccessError, BindingId, Bond, Cage, GraphStats, Host, HostError, InstanceId, KeyedEntry,
19 KeyedList, ListError, LocalFuture, Owner, RowToken, Runtime, RuntimeStats, Scope, Selected,
20 Selector, SelectorStats, Task, TaskToken, Vary, untracked,
21};