Function: restoreProviderConnectionState()
restoreProviderConnectionState(
args: {ctx:ProviderConnectionContext;restoreGoogleDriveAccountLabel?:boolean;snapshot:ProviderConnectionStateSnapshot;tokenStorageKey:string; }):Promise<void>
Defined in: electron/services/cloud/internal/providerConnectionState.ts:64
Restores provider connection state captured before a failed connect attempt.
Parameters
args
ctx
restoreGoogleDriveAccountLabel?
boolean
snapshot
ProviderConnectionStateSnapshot
tokenStorageKey
string
Returns
Promise<void>
Remarks
Settings writes are intentionally sequential because the backing settings layer is transaction-based in production.