MCPcopy Create free account
hub / github.com/Noumena-Network/code / waitForVisibleRows

Function waitForVisibleRows

src/testing/ptyContractHarness.ts:288–295  ·  view source on GitHub ↗
(predicate, timeoutMs, label)

Source from the content-addressed store, hash-verified

286 )
287 },
288 async waitForVisibleRows(predicate, timeoutMs, label) {
289 const visibleTextSnapshot = await this.waitForVisibleText(
290 text => predicate(readVisibleRows(text)),
291 timeoutMs,
292 label,
293 )
294 return readVisibleRows(visibleTextSnapshot)
295 },
296 send(text) {
297 proc.stdin.write(text)
298 },

Callers

nothing calls this directly

Calls 1

readVisibleRowsFunction · 0.85

Tested by

no test coverage detected