KeyedStateStore
Defined in: ../cli/watcher.ts:241
One watcher’s part of a shared state file, so pages, marks and repos each keep their own.
Type Parameters
Section titled “Type Parameters”T
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new KeyedStateStore<
T>(file,key,empty):KeyedStateStore<T>
Defined in: ../cli/watcher.ts:245
Parameters
Section titled “Parameters”string
string
T
Returns
Section titled “Returns”KeyedStateStore<T>
Methods
Section titled “Methods”load()
Section titled “load()”load():
T
Defined in: ../cli/watcher.ts:253
Returns
Section titled “Returns”T
save()
Section titled “save()”save(
value):void
Defined in: ../cli/watcher.ts:256
Parameters
Section titled “Parameters”T
Returns
Section titled “Returns”void