BulkOperationLock
The lease-lock record stored in .git/obsidian-bulk-operation.json while a bulk operation runs.
Import:
import type { BulkOperationLock } from '@mnaoumov/obsidian-lib/bulk-operation';Signature:
export interface BulkOperationLockProperties
| Property | Type | Description |
|---|---|---|
| heartbeatAt | number | When the lock was last refreshed by the operation's progress, as epoch milliseconds. |
| host | string | The host name of the machine running the operation. |
| operationId | string | The operation id, such as OP12. |
| pluginId | string | The id of the plugin running the operation. |
| processId | number | The id of the process running Obsidian. Only a fast path for an app crash; staleness never depends on it. |
| processStartedAt | number | When the process running Obsidian started, as epoch milliseconds, so a recycled process id is not mistaken for the original one. |
| startedAt | number | When the operation started, as epoch milliseconds. |
Links to this page: