AWS Amplify JS API
AWS Amplify JS Dev Center
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Releaser
Worker
acquire
is
Locked
run
Exclusive
Hierarchy
MutexInterface
Implemented by
Mutex
Index
Interfaces
Releaser
Worker
Methods
acquire
is
Locked
run
Exclusive
Methods
acquire
acquire
(
)
:
Promise
<
Releaser
>
Returns
Promise
<
Releaser
>
is
Locked
is
Locked
(
)
:
boolean
Returns
boolean
run
Exclusive
run
Exclusive<T>
(
callback
:
Worker
<
T
>
)
:
Promise
<
T
>
Type parameters
T
Parameters
callback:
Worker
<
T
>
Returns
Promise
<
T
>