Expand description
Tokio-backed live runtime: bus, store, effect interpreter, subscriptions.
Store flavors:
store::Store—Mutex(defaultRuntime)rw_store::RwStore—RwLock(RwRuntime)tea_store::TeaStore— channel-pushed model snapshots (TeaRuntime, true TEA)- [
swap_store::SwapStore] — lock-free snapshot reads (arc-swapfeature, [SwapRuntime])
Re-exports§
pub use error::RuntimeError;
Modules§
- binding
- Lock-backed bindings with keypath projection (SwiftUI
Bindingdynamic-member style). - error
- rw_
store RwLock-backed store for read-heavy workloads.- store
- subscription
- Subscription interpreter — starts/stops long-lived Tokio sources declared by
Sub. - tea_
store - Channel-delivered model snapshots — true TEA design.
Structs§
- Runtime
- Live runtime — bus-driven update loop on a pinned thread with Tokio effect interpreter.
- Runtime
Config - Configuration for
super::engine::Runtime::from_program/super::engine::Runtime::from_reducer_program. - RwRuntime
- Live runtime with
RwLockstate — many concurrent readers, exclusive writer on reducer thread. - TeaRuntime
- Live runtime with channel-delivered model — true Elm Architecture.