node_flow/context/storage/
mod.rs

1//! This module contains all the different types of storages.
2//!
3//! For details on specific behavior, see the documentation of each storage.
4
5/// This module defines and implements in-memory, **branch-local storage**.
6///
7/// It is used for managing node or flow state during execution on a **per-branch** basis,
8/// where the items need to have unique values across branches.
9///
10/// For details and examples see the documentation of [`LocalStorage`].
11pub mod local_storage;
12pub use local_storage::LocalStorage;
13
14/// This module defines and implements in-memory, **shared storage**.
15///
16/// It is used for managing node of flow state **shared across branches**,
17/// where the items have only one instance thats is shared across all branches.
18///
19/// For details and examples see the documentation of [`SharedStorage`].
20pub mod shared_storage;
21pub use shared_storage::SharedStorage;