Skip to main content

@fluidframework/driver-web-cache Package

Interfaces​

InterfaceAlertsDescription
FluidCacheConfigLegacy

Classes​

ClassAlertsDescription
FluidCacheLegacyA cache that can be used by the Fluid ODSP driver to cache data for faster performance.

Functions​

FunctionAlertsReturn TypeDescription
deleteFluidCacheIndexDbInstance(deleteDBCallbacks)LegacyPromise<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​

ParameterModifiersTypeDescription
deleteDBCallbacksoptionalDeleteDBCallbacks

Returns​

Return type: Promise<void>