luci-go: github.com/luci/luci-go/cipd/client/cipd/internal/retry Index | Files

package retry

import "github.com/luci/luci-go/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). Updated 2019-06-26. Refresh now. Tools for package owners.