MCPcopy Create free account
hub / github.com/bytemode/pitaya-notes / SetTimerPrecision

Function SetTimerPrecision

timer.go:84–89  ·  view source on GitHub ↗

SetTimerPrecision set the ticker precision, and time precision can not less than a Millisecond, and can not change after application running. The default precision is time.Second

(precision time.Duration)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestSetTimerPrecisionFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestSetTimerPrecisionFunction · 0.68