API Reference
Rockets Core API
ts-common
interfaces
CacheClearInterface

Interface: CacheClearInterface<O>

Type Parameters

Type ParameterDefault type
O extends ReferenceQueryOptionsInterfaceReferenceQueryOptionsInterface

Methods

clear()

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

Clear all caches for assign in given category.

Parameters

ParameterTypeDescription
assignmentstringThe assignment of the repository
cachePick<CacheInterface, "assignee">The cache to clear
options?O-

Returns

Promise<void>

Defined in

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