# Functions
GetBackoffForNextSchedule calculates the backoff time for the next run given a cronSchedule, workflow start time and workflow close time.
GetBackoffForNextScheduleInSeconds calculates the backoff time in seconds for the next run given a cronSchedule and current time.
IgnoreErrors can be used as IsRetryable handler for Retry function to exclude certain errors from the retry list.
JitDuration return random duration from (1-coefficient)*duration to (1+coefficient)*duration, inclusive, exclusive.
JitFloat64 return random number from (1-coefficient)*input to (1+coefficient)*input, inclusive, exclusive.
JitInt64 return random number from (1-coefficient)*input to (1+coefficient)*input, inclusive, exclusive.
NewConcurrentRetrier returns an instance of concurrent backoff retrier.
NewExponentialRetryPolicy returns an instance of ExponentialRetryPolicy using the provided initialInterval.
NewMultiPhasesRetryPolicy creates MultiPhasesRetryPolicy.
NewRetrier is used for creating a new instance of Retrier.
NewThrottleRetry returns a retry handler with given options.
ValidateSchedule validates a cron schedule spec.
WithRetryableError returns a setter setting the retryable error of ThrottleRetry.
WithRetryPolicy returns a setter setting the retry policy of ThrottleRetry.
WithThrottleError returns a setter setting the throttle error of ThrottleRetry.
WithThrottlePolicy returns setter setting the retry policy when operation returns throttle error.
# Constants
NoBackoff is used to represent backoff when no cron backoff is needed.
NoInterval represents Maximim interval.
# Variables
SystemClock implements Clock interface that uses time.Now().
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author