offOfflineDpsUpdate

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

Method signature
offOfflineDpsUpdate(callback: )

Description

Unregister the offline DP update listener

Parameters

ParameterTypeRequiredDescription
(dps: ) => voidYesThe same reference as used when subscribing

Return Value

Type: void
None

Examples

import { offOfflineDpsUpdate } from '@ray-js/lock-sdk';
offOfflineDpsUpdate((dps) => {
  console.log('Offline DP update', dps);
});