Interface: FilesCacheExports
Public exports from FilesCachePlugin.
Methods
Section titled “Methods”flush()
Section titled “flush()”flush():
Promise<void>
Flush pending invalidation batches.
Returns
Section titled “Returns”Promise<void>
forFileSystem()
Section titled “forFileSystem()”forFileSystem<
T>(scope,identity,load):Promise<T>
Resolve one app-lifetime filesystem source for a user and its actual mounted paths.
Type Parameters
Section titled “Type Parameters”T extends object
Parameters
Section titled “Parameters”identity
Section titled “identity”() => T | Promise<T>
Returns
Section titled “Returns”Promise<T>
forScope()
Section titled “forScope()”forScope(
scope):Promise<FileSystemCache>
Resolve one user-isolated filesystem cache.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<FileSystemCache>