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

Function waitForMountedScreenText

src/testing/replScreenContractHarness.ts:217–230  ·  view source on GitHub ↗
(
  ink: MountedInkProbe | undefined,
  predicate: (text: string) => boolean,
  options?: {
    readonly timeoutMs?: number
    readonly label?: string
  },
)

Source from the content-addressed store, hash-verified

215}
216
217export async function waitForMountedScreenText(
218 ink: MountedInkProbe | undefined,
219 predicate: (text: string) => boolean,
220 options?: {
221 readonly timeoutMs?: number
222 readonly label?: string
223 },
224): Promise<string> {
225 return await waitForText(
226 () => readMountedScreenText(ink),
227 predicate,
228 options,
229 )
230}
231
232export async function waitForMountedVisibleRows(
233 ink: MountedInkProbe | undefined,

Calls 2

waitForTextFunction · 0.85
readMountedScreenTextFunction · 0.85

Tested by

no test coverage detected