@fluidframework/driver-web-cache Package
Packages > @fluidframework/driver-web-cache
Interfaces
Interface | Alerts | Description |
---|---|---|
FluidCacheConfig | Legacy , Alpha |
Classes
Class | Alerts | Description |
---|---|---|
FluidCache | Legacy , Alpha |
A cache that can be used by the Fluid ODSP driver to cache data for faster performance. |
Functions
Function | Alerts | Return Type | Description |
---|---|---|---|
deleteFluidCacheIndexDbInstance(deleteDBCallbacks) | Legacy , Alpha |
Promise<void> | Deletes the indexed DB instance. |
Function Details
deleteFluidCacheIndexDbInstance
Deletes the indexed DB instance.
This API is provided for existing users, but is not recommended for new users.
To use, import via @fluidframework/driver-web-cache/legacy
.
For more information about our API support guarantees, see here .
Signature
export declare function deleteFluidCacheIndexDbInstance(deleteDBCallbacks?: DeleteDBCallbacks): Promise<void>;
Remarks
Warning this can throw an error in Firefox incognito, where accessing storage is prohibited.
Parameters
Parameter | Modifiers | Type | Description |
---|---|---|---|
deleteDBCallbacks | optional | DeleteDBCallbacks |
Returns
Return type: Promise<void>