Skip to main content

hears_other_instances

Function hears_other_instances 

Source
pub fn hears_other_instances(db: &Db) -> bool
Expand description

Whether another instance’s commits reach committed_changes now: always where the database tells no other instance (SQLite), elsewhere only while the listener the first committed_changes started is subscribed. A cache trusts what it holds only while true.