Skip to content

Session.clearCodeCaches method

Session › clearCodeCaches

Unofficial

Clears the session's generated JS code caches.

Signature:

clearCodeCaches(options: ElectronClearCodeCachesOptions): Promise<void>

Parameters:

Parameter Type Description
options ElectronClearCodeCachesOptions Options controlling which code caches are cleared.

Returns: Promise<void>A promise that resolves when the code cache clear operation is complete.