Expand description
Tokio-backed live runtime: bus, store, effect interpreter, subscriptions.
Store flavors:
store::Store—Mutex(defaultRuntime)rw_store::RwStore—RwLock(RwRuntime)- [
swap_store::SwapStore] — lock-free snapshot reads (arc-swapfeature, [SwapRuntime])
Modules§
- binding
- Lock-backed bindings with keypath projection (SwiftUI
Bindingdynamic-member style). - rw_
store RwLock-backed store for read-heavy workloads.- store
- subscription
- Subscription interpreter — starts/stops long-lived Tokio sources declared by
Sub.
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.