Go back to `Feed.pause/resume()`, new flume APIs coming later

agg_feedz
Tyler Goodlet 2023-01-09 18:41:12 -05:00
parent 55de9abc41
commit 963e5bdd62
1 changed files with 2 additions and 2 deletions

View File

@ -916,7 +916,7 @@ class ChartPlotWidget(pg.PlotWidget):
try:
for feed in self._feeds.values():
for flume in feed.flumes.values():
self.linked.godwidget._root_n.start_soon(flume.resume)
self.linked.godwidget._root_n.start_soon(feed.resume)
except RuntimeError:
# TODO: cancel the qtractor runtime here?
raise
@ -924,7 +924,7 @@ class ChartPlotWidget(pg.PlotWidget):
def pause_all_feeds(self):
for feed in self._feeds.values():
for flume in feed.flumes.values():
self.linked.godwidget._root_n.start_soon(flume.pause)
self.linked.godwidget._root_n.start_soon(feed.pause)
@property
def view(self) -> ChartView: