Function: getLatestHistoryTimestamp()
getLatestHistoryTimestamp(
history: readonlyPick<StatusHistory,"timestamp">[]):number|undefined
Defined in: src/utils/monitoring/monitorHistoryTime.ts:11
Computes the most recent monitor history timestamp from an arbitrary history ordering.
Parametersโ
historyโ
readonly Pick<StatusHistory, "timestamp">[]
Monitor status history entries.
Returnsโ
number | undefined
Latest timestamp in milliseconds, if any valid value exists.