Search
Preparing search index...
The search index is not available
@zero_one/client
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@zero_one/client
AsyncLock
Class AsyncLock
Hierarchy
AsyncLock
Index
Constructors
constructor
Properties
LOCK
_unlock
locked
Accessors
unlock
Methods
lock
wait
wait
And
Lock
Constructors
constructor
new
Async
Lock
(
)
:
AsyncLock
Returns
AsyncLock
Properties
Private
LOCK
LOCK
:
null
|
Promise
<
boolean
>
= null
_unlock
_unlock
:
null
|
(
(
)
=>
void
)
= null
locked
locked
:
boolean
= false
Accessors
unlock
get
unlock
(
)
:
(
)
=>
void
Returns
(
)
=>
void
(
)
:
void
Returns
void
Methods
lock
lock
(
)
:
void
Returns
void
wait
wait
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
wait
And
Lock
wait
And
Lock
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Exports
Async
Lock
constructor
LOCK
_unlock
locked
unlock
lock
wait
wait
And
Lock
Generated using
TypeDoc