Polling
Public facade instance for consumers. Delegates to the internal engine.
This is the single entry-point to start, control, and run polling operations.
Functions
Link copied to clipboard
Number of active polling sessions.
Link copied to clipboard
Cancel a session using the session handle.
Cancel a session by ID.
Link copied to clipboard
Compose multiple polling configs sequentially.
Link copied to clipboard
IDs of active polling sessions.
Link copied to clipboard
One-shot polling that runs to completion synchronously (suspending).
Link copied to clipboard
open override fun <T> startPolling(builder: PollingConfigBuilder<T>.() -> Unit): Flow<PollingOutcome<T>>
Start a new polling session. Returns a lightweight PollingSession handle.
Link copied to clipboard
Update backoff/options for a running session by ID.