Skip to content

Session.clearStorageData method

Session › clearStorageData

Unofficial

Clears the storage data for the current session.

Signature:

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

Parameters:

ParameterTypeDescription
options?ElectronClearStorageDataOptionsOptions controlling which storage data is cleared.

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