close method

void close()

Implementation

void close() {
  for (final node in graph.vertices.toList(growable: false)) {
    if (node is ShutdownNode) node.shutdown();
  }
  forEachStartStreamSubscription((s) => s.cancel());
  forEachStartStreamController((c) => c.close());
}