Skip to main content

Module poll

Module poll 

Source
Expand description

Polling / await wrapper. Re-executes the inner op until its completion condition holds, or the timeout fires. The condition is the op’s until: predicate when it declares one; otherwise mode: await_empty, an empty result. Used for waiting on backend state to settle: SAI index build, compactions, etc. A condition over part of a response is a capture plus until:.

Structs§

PollingDispenser
Wraps an inner dispenser and re-executes it until the result body is empty (zero rows). Used for awaiting conditions like SAI index compaction completing.
PollingMetrics
Metrics surfaced by the polling wrapper.

Constants§

NAME
SRD-32a wrapper name.