ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
hooks/use-session-lock
useSessionLock
Function useSessionLock
useSessionLock
(
options
?:
UseSessionLockOptions
,
)
:
{
isLocked
:
boolean
;
lock
:
()
=>
void
;
unlock
:
()
=>
void
;
canUnlock
:
(
userId
:
string
)
=>
boolean
;
lockedByUserId
:
string
|
null
;
mounted
:
boolean
;
}
Parameters
options
:
UseSessionLockOptions
= {}
Returns
{
isLocked
:
boolean
;
lock
:
()
=>
void
;
unlock
:
()
=>
void
;
canUnlock
:
(
userId
:
string
)
=>
boolean
;
lockedByUserId
:
string
|
null
;
mounted
:
boolean
;
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...