---
title: HookObservation
description: One lifecycle-hook invocation, as the daemon observed it.
---

One lifecycle-hook invocation, as the daemon observed it.

## Properties

### firedAt

```ts
firedAt: number;
```

Seconds since the epoch on the daemon's clock when the hook arrived.

***

### handler?

```ts
optional handler?: HandlerOutcome;
```

The workload handler's outcome, or `null` when the image has no handler for it.

***

### hook

```ts
hook: string;
```

`ready`, `validate`, `run`, `suspend`, `resume`, or `terminate`.

## Provenance

This page is generated from `bindings/microvms-js/index.d.ts` by TypeDoc 0.28.20 and typedoc-plugin-markdown 4.13.1, run from `site/scripts/gen-reference.mjs` on every `pnpm run sync`, so an edit made here is overwritten by the next run.

To change the page, change the doc comment in the binding's Rust source, then regenerate the declarations with `mise run dts`. `mise run dts:check` fails when the committed file no longer matches the source.