SmartStorageAbility.getAll(callback: Function)
Requires:
@ray-js/panel-sdk≥1.0.0
Description
Read all stored data under the current device/group
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| No | Optional callback invoked after the data is read |
Return Value
Type: Promise<{ [key: string]: TReturnRes<T> }>
Result containing all stored key-value pairs
Referenced Types
type
TReturnRes| Property | Type | Description |
|---|---|---|
__isEqual__ | boolean | Whether the values are equal, used to determine whether the cloud matches the local data; if equal, do not update |
| Returned value and type | ||
time | timeStamp | Timestamp of the generated design, used to determine which side is the latest (local or cloud data) |