Skip to content

BulkOperationLockStalenessContext

The facts isBulkOperationLockStale weighs besides the heartbeat.

Import:

import type { BulkOperationLockStalenessContext } from '@mnaoumov/obsidian-lib/bulk-operation';

Signature:

export interface BulkOperationLockStalenessContext

Properties

PropertyTypeDescription
bootedAtnull | numberWhen this machine last booted, as epoch milliseconds, or null when unknown.
hoststringThe host name of this machine.
isProcessAlive(processId: number) => boolean | nullWhether the process recorded in the lock is still running on this machine, or null when it cannot be told.
nownumberThe current time, as epoch milliseconds.

Links to this page: