Skip to content

Lupa API Reference / network / NetworkPollingOptions

Interface: NetworkPollingOptions ​

Defined in: src/network/network_assert.ts:8

Options for network polling.

Properties ​

interval? ​

optional interval?: number

Defined in: src/network/network_assert.ts:18

The time to wait between checks. Default is 25ms.


timeout? ​

optional timeout?: number

Defined in: src/network/network_assert.ts:13

The maximum time to wait for the condition to be true. Default is 500ms.