(store)
| 123 | b = Dataset(reads=[1]) # B reads A's final slot (slot 1) |
| 124 | |
| 125 | def a_run(store): |
| 126 | store.set_capture_target(a.read_slots) |
| 127 | store.read(0) |
| 128 | store.set_capture_target(None) |
| 129 | store.write(1) # A writes its final value -> bumps slot 1 |
| 130 | a.last_run_clock = store.write_clock |
| 131 | a.runs += 1 |
| 132 | |
| 133 | def a_frame(store): |
| 134 | if a.should_run(store): |
no test coverage detected