Skip to main content
Version: 8.10 (unreleased)

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>;

Type Parameters

E

E

A

A

Parameters

thunk

() => Promise<A>

predicate

(a) => boolean | Promise<boolean>

opts

intervalMs?

number

waitUpToMs

number

Returns

TaskEither<E, A>