state property

Map<String, Object?> state
final

Scratch space for application-owned per-node state, keyed by the application (e.g. the last resource-metrics snapshot, a lease, a scheduler cursor).

The registry constructs RegisteredNode itself, so subclassing it to add fields does not work — this bag is the seam instead. Nothing in omnyhub reads or writes it; entries live and die with the registration.

Implementation

final Map<String, Object?> state = {};