dependencyCount method
How many nodes node currently depends on — the size of its forward edge
set. Returns 0 for a disposed node and for cells, which are pure sources.
Implementation
int dependencyCount(AsyncGraphNode node) {
if (_isDisposedNode(node)) return 0;
if (node is AsyncSlotHandle) return node._dependencies.length;
return 0;
}