asynchronous
isLockedAndWait

Description

Send a request to determine if the extension is locked


Usage

await sdk.async.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.async.isLockedAndWait();
 
console.log(isLocked);