getSleepPeriod
Requires:
@ray-js/lock-sdk≥1.0.0
Method signature
getSleepPeriod()Description
Get the sleep time range
Parameters
None
Return Value
Type: GetDpPeriodTimeResult
Sleep time range
GetDpPeriodTimeResult
| Property | Type | Description |
|---|---|---|
start | number | Start time (minutes) |
end | number | End time (minutes) |