MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / should_run

Method should_run

tests/scripts/test_change_tracking.py:48–52  ·  view source on GitHub ↗
(self, store)

Source from the content-addressed store, hash-verified

46 self.runs = 0
47
48 def should_run(self, store):
49 # empty read-set -> always run (R7); else run iff an input changed
50 return not self.read_slots or store.changed_since(
51 self.read_slots, self.last_run_clock
52 )
53
54 def run(self, store):
55 store.set_capture_target(self.read_slots)

Callers 3

frameFunction · 0.80
a_frameFunction · 0.80

Calls 1

changed_sinceMethod · 0.80

Tested by

no test coverage detected