Function example_persist_session::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.