MCPcopy Create free account
hub / github.com/corestoreio/pkg / NewRandomTicker

Function NewRandomTicker

util/cstime/time.go:66–103  ·  view source on GitHub ↗

NewRandomTicker returns a pointer to an initialized instance of the RandomTicker. Min and max are durations of the shortest and longest allowed ticks. Ticker will run in a goroutine until explicitly stopped. durationKind must be one of the following constants: time.Nanosecond, time.Microsecond, time

(min, max, durationKind time.Duration)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

loopMethod · 0.95
NewMethod · 0.65
TruncateMethod · 0.65

Tested by

no test coverage detected