Interface: QueryDataStorage
Synchronous persistence supplied by the host; writes must replace a scope atomically or throw.
Methods
read()
read(
scope:string):Readonly<Record<string,unknown>> |null
Read saved Query results for a scope, or null when nothing has been saved.
Parameters
Returns
Readonly<Record<string, unknown>> | null
write()
write(
scope:string,data:InitialQueryResults):void
Persist the complete snapshot for a scope, throwing on failure.
Parameters
Returns
void