Class BaseManager<T, TCtor>
Constructors
constructor
-
Type parameters
Parameters
Properties
Readonly cache
Readonly client
Readonly holds
holds: TCtor
Methods
_remove
- _remove(data: T): boolean
-
Parameters
Returns boolean
_upsert
-
Parameters
Returns T
Abstract fetch
- fetch(id: string): Promise<T>
-
Parameters
Returns Promise<T>
resolve
- resolve(data: unknown): null | T
-
Parameters
Returns null
|
T
resolveId
- resolveId(data: unknown): null | string
-
Parameters
Returns null
|
string