package waiter

Import Path
	github.com/aws/smithy-go/waiter (on go.dev)

Dependency Relation
	imports 7 packages, and imported by one package

Involved Source Files logger.go waiter.go
Package-Level Type Names (only one, which is exported)
/* sort exporteds by: | */
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
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.