Preparing search index...
The search index is not available
actionhero
actionhero
cache
lock
Function lock
lock
(
key
,
expireTimeMS
?
)
:
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.