Ciorent
Preparing search index...
Semaphores
acquire
Function acquire
acquire
(
s
:
[
head
:
QueueNode
<
()
=>
void
>
,
tail
:
QueueNode
<
()
=>
void
>
,
callback
:
PromiseFn
<
void
>
,
remain
:
number
,
]
,
)
:
Promise
<
void
>
Wait until the semaphore allows access
Parameters
s
:
[
head
:
QueueNode
<
()
=>
void
>
,
tail
:
QueueNode
<
()
=>
void
>
,
callback
:
PromiseFn
<
void
>
,
remain
:
number
,
]
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Ciorent
Loading...
Wait until the semaphore allows access