luci: go.chromium.org/luci/cipd/client/cipd/internal/retry Index | Files

package retry

import "go.chromium.org/luci/cipd/client/cipd/internal/retry"

Package retry contains helpers for doing tight retry loops.

Index

Package Files

waiter.go

func Waiter Uses

func Waiter(c context.Context, why string, d time.Duration) func() error

Waiter returns a stateful callback which sleeps a bit on each invocation until reaching a deadline.

Package retry imports 5 packages (graph) and is imported by 4 packages. Updated 2019-08-22. Refresh now. Tools for package owners.