getOfflineDpCache

Requires:
@ray-js/lock-sdk≥1.1.0

Method signature
getOfflineDpCache(code: string)

Description

Get the offline DP cache entry for the specified code

Parameters

ParameterTypeRequiredDescription
codestringYesDP code

Return Value

Type: OfflineDpInfo
Cache entry or undefined
OfflineDpInfo
PropertyTypeDescription
valuestring | boolean | numberDP value
pushStatusbooleanWhether pushed

Examples

import { getOfflineDpCache } from '@ray-js/lock-sdk';
const cache = getOfflineDpCache('dp_code');