Skip to content

invokeWithFileSystemLock

Invokes a function with the file system lock.

Import:

import { invokeWithFileSystemLock } from 'obsidian-dev-utils/obsidian/vault';

Signature:

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

Parameters:

ParameterTypeDescription
paramsInvokeWithFileSystemLockParamsThe 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: