MCPcopy Create free account
hub / github.com/ReactiveX/RxGo / randomTime

Function randomTime

observable_operator_random_test.go:137–139  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

135}
136
137func randomTime() time.Duration {
138 return time.Duration(rand.Intn(maxSleepNs)) * time.Nanosecond
139}

Callers 2

TestLeakFunction · 0.85
getChannelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…