MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / RandomSleep

Function RandomSleep

common/utils.go:213–216  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

211}
212
213func RandomSleep() {
214 // Sleep for 0-3000 ms
215 time.Sleep(time.Duration(rand.Intn(3000)) * time.Millisecond)
216}
217
218func GetPointer[T any](v T) *T {
219 return &v

Callers 1

RedeemFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected