core library
Core reactive system APIs for advanced usage.
This library exposes the low-level reactive system APIs including reactive nodes, dependency tracking, and the global reactive system. These APIs are typically used by framework implementers or for advanced reactive programming scenarios.
Usage
import 'package:jolt/core.dart';
// Manually trigger propagation algorithm
final system = globalReactiveSystem;
system.flush(); // Execute all queued effects
// Work with reactive nodes directly
final node = ReactiveNode(flags: ReactiveFlags.mutable);
system.link(dependency, subscriber, version);
Classes
- EffectFlags
- Effect execution flags for internal reactive system management.
- GlobalReactiveSystem
- The global reactive system
- Link
- Link between reactive nodes in the dependency graph.
- ReactiveFlags
- Flags for tracking reactive node state.
- ReactiveNode
- Base class for all reactive nodes in the dependency graph.
- ReactiveSystem
- Abstract reactive system for managing dependency tracking.
-
Stack<
T> - Stack data structure for managing recursive operations.
Properties
- globalReactiveSystem → GlobalReactiveSystem
-
The global reactive system instance
final