destroy()

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

Description

Destroy the SDK: remove all runtimes (lock and accessory), global listeners, in-memory state, and the main instance.

Parameters

None

Return Value

Type: void
None

Examples

import { destroy } from '@ray-js/lock-sdk';
destroy();