Receiver: one listener, one verb

nodes.subUpdates.listen((e) async {
  if (e.subName != 'samples' || e.ancestry.length != 2) return;

  final sample = await nodes.getDescendant<StatSample>(
    ancestry: e.ancestry,    // [host CAncestor, atSign CAncestor]
    id: e.id,                // <millis>
    owner: e.owner,          // sender atSign
    leafExpiration: ttl,
    leafFromJson: StatSample.fromJson,
    leafTypeTag: 'StatSample',
  );

  if (sample != null) window.add(sample.obj);
});

That's the entire receive loop. The Flutter dashboard does this plus chart rendering in around 100 lines.