Skip to content

API Reference


API Reference / @dasch-ng/rxjs-operators / PollUntilOptions

Interface: PollUntilOptions<T> ​

Defined in: poll-until.ts:3

Type Parameters ​

T ​

T

Properties ​

interval? ​

optional interval?: number

Defined in: poll-until.ts:5

Milliseconds between reads. Default 100.


ready? ​

optional ready?: (value) => boolean

Defined in: poll-until.ts:9

When a value counts as ready. Default: not null, undefined, '' or false.

Parameters ​

value ​

T

Returns ​

boolean


timeout? ​

optional timeout?: number

Defined in: poll-until.ts:7

Milliseconds until the observable errors with rxjs' TimeoutError. Default 10000; Infinity waits forever.

Released under the MIT License.