Preparing search index...
The search index is not available
@king011/easyts
@king011/easyts
sync/mod
RWLocker
Interface RWLocker
A Locker represents an object that can be locked and unlocked.
Hierarchy
Locker
RWLocker
Implemented by
RWMutex
Index
Methods
lock
read
Lock
read
Unlock
try
Lock
try
Read
Lock
unlock
Methods
lock
lock
(
)
:
undefined
|
Promise
<
Locker
>
Returns
undefined
|
Promise
<
Locker
>
read
Lock
read
Lock
(
)
:
undefined
|
Promise
<
RWLocker
>
Returns
undefined
|
Promise
<
RWLocker
>
read
Unlock
read
Unlock
(
)
:
void
Returns
void
try
Lock
try
Lock
(
)
:
boolean
Returns
boolean
try
Read
Lock
try
Read
Lock
(
)
:
boolean
Returns
boolean
unlock
unlock
(
)
:
void
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@king011/easyts
container/mod
context/mod
io/mod
log/mod
mod
net/mod
net/url/mod
path/mod
signals/mod
sync/mod
time/mod
RWLocker
lock
read
Lock
read
Unlock
try
Lock
try
Read
Lock
unlock
Generated using
TypeDoc
A Locker represents an object that can be locked and unlocked.