API Reference
Rockets Core API
ts-common
interfaces
CacheDeleteInterface

Interface: CacheDeleteInterface<O>

Type Parameters

Type ParameterDefault type
O extends ReferenceQueryOptionsInterfaceReferenceQueryOptionsInterface

Methods

delete()

delete(assignment, cache, options?): Promise<void>

Delete a cache based on params

Parameters

ParameterTypeDescription
assignmentstringThe cache assignment
cachePick<CacheInterface, "assignee" | "type" | "key">The dto with unique keys to delete
options?O-

Returns

Promise<void>

Defined in

ts-common/src/cache/interfaces/cache-delete.interface.ts:16 (opens in a new tab)