Function: eventuallyTE()
Technical Preview
The Functional Programming API is a technical preview. Its surface may change in future releases without following semver.
function eventuallyTE<E, A>(thunk, predicate, opts): TaskEither<E, A>;
Defined in: fp-ts.ts:177
Type Parameters
E
E
A
A
Parameters
thunk
() => Promise<A>
predicate
(a) => boolean | Promise<boolean>
opts
intervalMs?
number
waitUpToMs
number
Returns
TaskEither<E, A>