1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! Reactive primitives: values that persist and notify.
//!
//! # Subscribers run ahead of the disk
//!
//! Every primitive here shares one ordering. A write lands in the store's
//! buffer, subscribers are notified, and only later does the debouncer commit
//! it to disk. So a callback always sees the new value while it is still
//! buffered, and a crash before the commit takes back something a subscriber
//! already acted on - a request it sent, a file it wrote, a screen it drew.
//!
//! This is deliberate: a UI that repainted only after `fsync` would be
//! unusable. But it means a subscription is not a durability signal. When an
//! effect must not outlive the data that caused it, write through the
//! `durable()` form and act after it returns, rather than from the callback.
//!
//! The book works through the whole picture in
//! [Durability](https://guinea-rs.github.io/amethystate/concepts/durability).
pub use crate*;
pub use *;
pub use ;
pub use ;
pub use *;
pub use *;
pub use *;
pub use *;