Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WriteAndWaitForDataOptions

Hierarchy

Index

Properties

Optional afterTimestamp

afterTimestamp: number

if provided it will ork with data after that given timestamp. By default this timestamp is the last write()'s

input

input: string

data to write

Optional interval

interval: number

How periodically wait* functions will poll to check given predicate. Default value is [[Driver.waitInterval]]

predicate

predicate: function | string

predicate a function that if return a truthy value will stop the polling

Optional rejectOnTimeout

rejectOnTimeout: boolean

By default waitUntil (and all wait* methods) will reject the promise on timeout. Set this to false so they resolve the promise with false value instead

Optional timeout

timeout: number

For how long``wait*` function will wait until it return a rejected promise. Default value is [[Driver.waitTimeout]]

Generated using TypeDoc