Skip to content

API reference > @kontsedal/olas-devtools > ControllerNode

ControllerNode type ​

Per-path node in the live controller tree. state reflects the most recently observed lifecycle event; path is the array reported by the devtools bus.

Signature:

typescript
type ControllerNode = {
  readonly path: readonly string[];
  state: 'active' | 'suspended' | 'disposed';
  props: unknown;
  children: ControllerNode[];
  debug?: Record<string, unknown>;
  disposedAt?: number;
};

References: ControllerNode

Released under the MIT License.