Polling Api
interface PollingApi
Public abstraction layer for consumers. Exposes a small, stable API surface. Internals are delegated to the PollingEngine implementation.
Plain-English entrypoints:
startPolling { ... } — start and observe via Flow
doPolling { ... } — alias for startPolling, reads more naturally in code
run(config) — run synchronously (suspending) and return a terminal outcome
Inheritors
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
Start a new polling session using the fluent builder DSL.
Link copied to clipboard
Update backoff/options for a running session by ID.