save

abstract suspend fun save(snapshot: BudgetSnapshot): Result<Unit>(source)

Replaces the stored snapshot.

Return

success, or the failure that left the old snapshot in place (or unknown).

Parameters

snapshot

what to keep, replacing the previous.