Polling
Public facade instance for consumers. Delegates to the internal engine.
This is the single entry-point to start, control, and run polling operations.
Examples:
Polling.startPolling
// Alias that reads more naturally Polling.doPolling
Functions
Number of active polling sessions.
Cancel a session using the session handle.
Cancel a session by ID.
Compose multiple polling configs sequentially.
Alias for startPolling that reads more naturally in codebases. Example: Polling.doPolling { fetch = { ... } }
IDs of active polling sessions.
One-shot polling that runs to completion synchronously (suspending).
Start a new polling session using the fluent builder DSL.
Update backoff/options for a running session by ID.