Skip to content

Session.clearStorageData method

Session › clearStorageData

Unofficial

Clears the storage data for the current session.

Signature:

clearStorageData(options?: ElectronClearStorageDataOptions | undefined): Promise<void>

Parameters:

ParameterTypeDescription
options?ElectronClearStorageDataOptions | undefinedOptions controlling which storage data is cleared.

Returns: Promise<void>A promise that resolves when the storage data has been cleared.