This commit is contained in:
Erik Brakkee 2024-08-19 19:50:36 +02:00
parent e9383caa01
commit b95314c964
2 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ import (
func (suite *ThrottlerTestSuite) Test_AsyncDeliverOneValue() { func (suite *ThrottlerTestSuite) Test_AsyncDeliverOneValue() {
value := 0 value := 0
pollInterval := 10 * time.Millisecond pollInterval := 10 * time.Millisecond
throttler := NewAsyncThrottler[int](func(v *int) { throttler := NewAsyncThrottler[int](func(v *int) {