Docs
asynchronous
isLockedAndWait

Description

Send a request to determine if the extension is locked


Usage

await sdk.isLockedAndWait();

Response

request: BaseRequest;
// request structure will vary depending on the type of the request
response: BaseResponse;
// response structure will vary depending on the type of the request
createdAt: number; // unix;
resolvedAt: number; // unix;

Example

let { 
  request,
  response,
  createdAt, 
  resolvedAt } = await sdk.isLockedAndWait();
 
console.log(isLocked);