mirror of
https://github.com/golang/go
synced 2024-10-03 20:31:22 -06: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
|
// send the time, in nanoseconds, every ns nanoseconds. It adjusts the
|
||||||
// intervals to make up for pauses in delivery of the ticks.
|
// intervals to make up for pauses in delivery of the ticks.
|
||||||
func NewTicker(ns int64) *Ticker {
|
func NewTicker(ns int64) *Ticker {
|
||||||
|
Loading…
Reference in New Issue
Block a user