mirror of
https://github.com/golang/go
synced 2024-11-25 07:17:56 -07:00
parent
ee75ffa286
commit
adb3b863c9
@ -156,7 +156,7 @@ func tickerLoop() {
|
||||
}
|
||||
}
|
||||
|
||||
// Ticker returns a new Ticker containing a channel that will
|
||||
// NewTicker returns a new Ticker containing a channel that will
|
||||
// send the time, in nanoseconds, every ns nanoseconds. It adjusts the
|
||||
// intervals to make up for pauses in delivery of the ticks.
|
||||
func NewTicker(ns int64) *Ticker {
|
||||
|
Loading…
Reference in New Issue
Block a user