(expected: list[DiffEntry], table: pw.Table)
| 293 | # of the sequence of updates defined in expected |
| 294 | # - the final entry for both stream and list is the same |
| 295 | def assert_key_entries_in_stream_consistent(expected: list[DiffEntry], table: pw.Table): |
| 296 | callback = CheckKeyConsistentInStreamCallback(expected) |
| 297 | pw.io.subscribe(table, callback, callback.on_end) |
| 298 | |
| 299 | |
| 300 | def assert_stream_equal(expected: list[DiffEntry], table: pw.Table): |