Skip to main content

hydrate_all

Function hydrate_all 

Source
pub async fn hydrate_all(client: &Client) -> Vec<(Pref, String)>
Expand description

Pull every list once at login and apply it, so this device is reconciled before the user can touch anything. The live subscription also delivers these, but it races the user; this does not.

A list whose fetch FAILS stays un-hydrated, so it stays unpublishable — far better to leave prefs un-synced for a session than to overwrite prefs we could not read.