Skip to main content

cloud_sdk/
action_polling.rs

1//! Bounded caller-driven action polling without clocks, sleep, or executors.
2
3mod backoff;
4mod context;
5mod driver;
6mod progress;
7
8pub use backoff::{
9    ExponentialBackoff, ExponentialBackoffError, MAX_BACKOFF_MULTIPLIER, PollBackoff,
10};
11pub use context::{
12    PollContext, PollControl, PollRequestStep, ProviderTimeError, ProviderTimeObservation,
13};
14pub use driver::{
15    ActionObserveError, ActionPollError, ActionPollLimits, ActionPollLimitsError, ActionPollStep,
16    ActionPoller, ActionUpdate,
17};
18pub use progress::{ProgressChange, ProgressObservation, ProgressPolicy};
19
20#[cfg(test)]
21mod tests;