package waiter
Import Path
github.com/aws/smithy-go/waiter (on go.dev)
Dependency Relation
imports 7 packages, and imported by one package
Package-Level Type Names (only one, which is exported)
Logger is the Logger middleware used by the waiter to log an attempt
Attempt is the current attempt to be logged
AddLogger is a helper util to add waiter logger after `SetLogger` middleware in
HandleInitialize performs handling of request in initialize stack step
ID representing the Logger middleware
*Logger : github.com/aws/smithy-go/middleware.InitializeMiddleware
*Logger : github.com/aws/smithy-go/middleware.ider
Package-Level Functions (only one, which is exported)
ComputeDelay computes delay between waiter attempts. The function takes in a current attempt count,
minimum delay, maximum delay, and remaining wait time for waiter as input. The inputs minDelay and maxDelay
must always be greater than 0, along with minDelay lesser than or equal to maxDelay.
Returns the computed delay and if next attempt count is possible within the given input time constraints.
Note that the zeroth attempt results in no delay.
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)