LocalStorage
Index
Constructors
constructor
Returns LocalStorage
Properties
staticdata
The data
Type declaration
[key string]: string
staticfiles
The files
Type declaration
[key string]: Buffer
staticjobEvents
staticjobs
statictasks
statictransactions
Methods
staticloadData
Loads the data.
Parameters
name: string
The name to load the data from.
Returns Promise<void>
staticsaveData
Saves the data.
Parameters
name: string
The name to save the data under.
Returns Promise<void>
LocalStorage is a local storage for the local cloud. It stores jobs, tasks, transactions, and data. It can be used to test the cloud functionality without deploying to the cloud.