interface Store<T> {
    persist: ((data: T) => Promise<void>);
    retrieve: (() => Promise<T>);
}

Type Parameters

  • T

Properties

Properties

persist: ((data: T) => Promise<void>)
retrieve: (() => Promise<T>)