@maschinenlesbar.org/openka-cli
Preparing search index...
withCorpusLock
Function withCorpusLock
withCorpusLock
<
T
>
(
store
:
LockableStore
,
purpose
:
string
,
work
:
()
=>
T
)
:
T
Run
work
holding the store's write lock, when it has one, and release it after.
Type Parameters
T
Parameters
store
:
LockableStore
purpose
:
string
work
:
()
=>
T
Returns
T
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@maschinenlesbar.org/openka-cli
Loading...
Run
workholding the store's write lock, when it has one, and release it after.