- Preparing search index...
- The search index is not available
TESSA Web API
Interface ICardSingletonCache
Methods
clear
- clear(): Promise<void>
-
Returns Promise<void>
getCard
- getCard(id: string): Promise<null | Card>
-
Returns Promise<null | Card>
getSettings
- getSettings<T>(name: string): Promise<null | T>
-
Returns Promise<null | T>
setCard
- setCard(id: string, card: Card): Promise<boolean>
-
Returns Promise<boolean>
setSettings
- setSettings(name: string, settings: unknown): Promise<boolean>
-
Parameters
-
name: string
-
settings: unknown
Returns Promise<boolean>
Кэш с карточками-синглтонами и дополнительными настройками.