actionhero
Preparing search index...
cache
lock
Function lock
lock
(
key
:
string
,
expireTimeMS
?:
number
)
:
Promise
<
boolean
>
Lock an item in redis (can be a list or a saved item) to this Actionhero process.
Parameters
key
:
string
expireTimeMS
:
number
= lockDuration
Returns
Promise
<
boolean
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
actionhero
Loading...
Lock an item in redis (can be a list or a saved item) to this Actionhero process.