Skip to content

Commit

Permalink
Comment reword
Browse files Browse the repository at this point in the history
  • Loading branch information
Henrique Santos committed Oct 26, 2023
1 parent efacc3e commit 549ad47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/wait/wait.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func New[T any](f AsyncActionCheck[T]) *AsyncActionHandler[T] {
}
}

// SetThrottle sets the duration between func triggering.
// SetThrottle sets the time interval between each check of the async action.
func (h *AsyncActionHandler[T]) SetThrottle(d time.Duration) *AsyncActionHandler[T] {
h.throttle = d
return h
Expand Down

0 comments on commit 549ad47

Please sign in to comment.