File

src/services/model/persisters/persister.ts

Description

Interface descibing the functions that a persister of model data must support.

Index

Methods

Methods

get
get(key: string)
Parameters :
Name Type Optional
key string No
Returns : Promise<>
set
set(key: string, value, circular: boolean, subKey: string | boolean)
Parameters :
Name Type Optional
key string No
value No
circular boolean No
subKey string | boolean No
Returns : void
export interface Persister {
  set(key: string, value: unknown, circular: boolean, subKey: string | boolean): void;
  get(key: string): Promise<unknown>;
}

results matching ""

    No results matching ""