- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for asynctimerchan (0.17 sec)
-
src/time/tick_test.go
run(t, "NewTickerStop", func() { NewTicker(Hour).Stop() }) } func TestChan(t *testing.T) { for _, name := range []string{"0", "1", "2"} { t.Run("asynctimerchan="+name, func(t *testing.T) { t.Setenv("GODEBUG", "asynctimerchan="+name) t.Run("Timer", func(t *testing.T) { tim := NewTimer(10000 * Second) testTimerChan(t, tim, tim.C, name == "0") }) t.Run("Ticker", func(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:10:37 UTC 2024 - 14.7K bytes - Viewed (0)