example_persist_session

Function persist_sync_token

Source
pub(crate) async fn persist_sync_token(
    session_file: &Path,
    sync_token: String,
) -> Result<()>
Expand description

Persist the sync token for a future session. Note that this is needed only when using sync_once. Other sync methods get the sync token from the store.