Skip to main content

Function: captureProviderConnectionState()

function captureProviderConnectionState(args: {
ctx: ProviderConnectionContext;
includeGoogleDriveAccountLabel?: boolean;
tokenStorageKey: string;
}): Promise<ProviderConnectionStateSnapshot>;

Defined in: electron/services/cloud/internal/providerConnectionState.ts:31

Captures provider connection state so failed connect attempts can roll back to a consistent previous configuration.

Parameters

args

ctx

ProviderConnectionContext

includeGoogleDriveAccountLabel?

boolean

tokenStorageKey

string

Returns

Promise<ProviderConnectionStateSnapshot>