SmartStorageAbility.get(key: string, callback?: Function)
Requires:
@ray-js/panel-sdk≥1.0.0
Description
Read the stored data for the specified key
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
key | string | Yes | Storage key |
| No | Optional callback invoked after the data is read |
Return Value
Type: Promise<TReturnRes<T>>
Storage result containing timestamp and value