type OperationWithData …
type Operation …
func (o Operation) withEmptyData() OperationWithData[struct{ … }
type Notify …
func Retry(o Operation, b BackOff) error { … }
func RetryWithData[T any](o OperationWithData[T], b BackOff) (T, error) { … }
func RetryNotify(operation Operation, b BackOff, notify Notify) error { … }
func RetryNotifyWithData[T any](operation OperationWithData[T], b BackOff, notify Notify) (T, error) { … }
func RetryNotifyWithTimer(operation Operation, b BackOff, notify Notify, t Timer) error { … }
func RetryNotifyWithTimerAndData[T any](operation OperationWithData[T], b BackOff, notify Notify, t Timer) (T, error) { … }
func doRetryNotify[T any](operation OperationWithData[T], b BackOff, notify Notify, t Timer) (T, error) { … }
type PermanentError …
func (e *PermanentError) Error() string { … }
func (e *PermanentError) Unwrap() error { … }
func (e *PermanentError) Is(target error) bool { … }
func Permanent(err error) error { … }