Skip to main content

sync_stars

Function sync_stars 

Source
pub fn sync_stars(year: usize) -> Result<StarSyncOutcome, StarSyncError>
Expand description

Refreshes verified stars for the effective account and selected edition.

A recent attempt can return the previously saved snapshot without a calendar request.

ยงErrors

Returns an error if the session, calendar, or snapshot cannot be verified, or if a refresh is throttled and no cached snapshot is available.