tap.storage.<name> exposes for a singleton collection, which holds
one document per scope key.
Remarks
A collection is a singleton when the manifest declares it withsingleton set
to true. Every call needs the storage:write scope, get included.
Type Parameters
T
T
Methods
get()
null until the document has been written once.
Returns
Promise<T | null>
patch()
Parameters
partial
Partial<T>
Returns
Promise<T>
set()
Parameters
document
T
Returns
Promise<void>