pub fn spawn_persist_subscriber(
events_rx: Receiver<Event>,
mstore: Arc<Store>,
state: Arc<Mutex<State>>,
) -> JoinHandle<()> ⓘExpand description
Spawn the persist subscriber task. Runs until the broadcast
channel closes (i.e., the reducer’s bus is dropped at process
shutdown). The state handle is read for the full resync after a
RecvError::Lagged.