Skip to content

invokeWithFileSystemLock

Invokes a function with the file system lock.

Import:

import { invokeWithFileSystemLock } from '@mnaoumov/obsidian-lib/vault';

Signature:

function invokeWithFileSystemLock(params: InvokeWithFileSystemLockParams): Promise<void>

Parameters:

Parameter Type Description
params InvokeWithFileSystemLockParams The parameters for invoking the function with the file system lock.

Returns: Promise<void> — A Promise that resolves when the function is invoked.


Links to this page: