Interface: CacheDeleteInterface<O>
Type Parameters
Type Parameter | Default type |
---|---|
O extends ReferenceQueryOptionsInterface | ReferenceQueryOptionsInterface |
Methods
delete()
delete(
assignment
,cache
,options
?):Promise
<void
>
Delete a cache based on params
Parameters
Parameter | Type | Description |
---|---|---|
assignment | string | The cache assignment |
cache | Pick <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)