descriptorBuilder property

Future<NodeDescriptor> Function()? descriptorBuilder
final

Builds the descriptor to advertise, replacing the static one assembled from capabilities/labels/metadata/attributes.

Evaluated on every connection attempt, so a node that changes while it is running — a GPU driver lands, a runtime is installed, a label is retagged — advertises the change on its next (re)registration instead of being stuck with what it knew at construction.

Implementation

final Future<NodeDescriptor> Function()? descriptorBuilder;