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:

Parameter Type Description
options? ElectronClearStorageDataOptions | undefined Options controlling which storage data is cleared.

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