Currently waitFor(condition: () => boolean, interval: number = 50, timeout: number = 5 * SECONDS) which is a bit unfortunate, as it's much more likely that a dev will want to customize the timeout vs. the interval.
Would be great if we took the latter two in an options object. I think it would be reasonable to do this as a breaking change, since TS should alert developers and I doubt there are all that many usages in the wild.
Currently
waitFor(condition: () => boolean, interval: number = 50, timeout: number = 5 * SECONDS)
which is a bit unfortunate, as it's much more likely that a dev will want to customize the timeout vs. the interval.Would be great if we took the latter two in an options object. I think it would be reasonable to do this as a breaking change, since TS should alert developers and I doubt there are all that many usages in the wild.