AsyncStore
Defined in: src/backends/store/store.ts:148
Extends
Section titled “Extends”Properties
Section titled “Properties”cache?
Section titled “cache?”
optionalcache?:Map<number,Resource<number>>
Defined in: src/backends/store/store.ts:149
flags?
Section titled “flags?”
readonlyoptionalflags?: readonly"partial"[]
Defined in: src/backends/store/store.ts:57
Use for optimizations
Inherited from
Section titled “Inherited from”label?
Section titled “label?”
readonlyoptionallabel?:string
Defined in: src/backends/store/store.ts:37
A name for this instance of the store. For example, you might use a share name for a network-based store
Inherited from
Section titled “Inherited from”
readonlyname:string
Defined in: src/backends/store/store.ts:31
What the file system using this store should be called. For example, tmpfs for an in memory store
Inherited from
Section titled “Inherited from”
readonlyoptionaltype?:number
Defined in: src/backends/store/store.ts:25
FileSystem#id
Inherited from
Section titled “Inherited from”
readonlyoptionaluuid?:`${string}-${string}-${string}-${string}-${string}`
Defined in: src/backends/store/store.ts:42
A UUID for this instance of the store.
Inherited from
Section titled “Inherited from”Methods
Section titled “Methods”sync()
Section titled “sync()”sync():
Promise<void>
Defined in: src/backends/store/store.ts:47
Syncs the store
Returns
Section titled “Returns”Promise<void>
Inherited from
Section titled “Inherited from”transaction()
Section titled “transaction()”transaction():
Transaction
Defined in: src/backends/store/store.ts:52
Begins a new transaction.
Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”usage()?
Section titled “usage()?”
optionalusage():UsageInfo
Defined in: src/backends/store/store.ts:62
Usage information for the store