yajsapi - JavaScript high-level API
Yagna Contributor Guide

Class: Lock

yajsapi / Exports / utils/lock / Lock

Class: Lock

utils/lock.Lock

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Lock()

Defined in

yajsapi/utils/lock.ts:5

Properties

_lock

Private _lock: any

Defined in

yajsapi/utils/lock.ts:5

Methods

done

done(): Promise

Returns

Promise

Defined in

yajsapi/utils/lock.ts:14

ready

ready(): Promise<Lock>

Returns

Promise<Lock>

Defined in

yajsapi/utils/lock.ts:10