You're viewing archived documentation for @imqueue/rpc v1.17.1. APIs may differ from the current release. View the latest version ↗

IMQLock.locked() method

Returns true if given key is locked, false otherwise

Signature:

static locked(key: string): boolean;

Parameters

Parameter

Type

Description

key

string

Returns:

boolean

{boolean}