Skip to content

Latest commit

 

History

History
59 lines (33 loc) · 804 Bytes

faastjs.persistentcache.clear.md

File metadata and controls

59 lines (33 loc) · 804 Bytes
id title hide_title
faastjs.persistentcache.clear
PersistentCache.clear() method
true

faastjs > PersistentCache > clear

PersistentCache.clear() method

Deletes all cached entries from disk.

Signature:

clear({ leaveEmptyDir }?: {
        leaveEmptyDir?: boolean | undefined;
    }): Promise<void>;

Parameters

Parameter

Type

Description

{ leaveEmptyDir }

{ leaveEmptyDir?: boolean | undefined; }

(Optional)

**Returns:**

Promise<void>