Thanks to visit codestin.com
Credit goes to github.com

Skip to content

yudppp/throttle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

throttle

Throttle is an object that will perform exactly one action per duration.

var throttler = throttle.New(time.Second*5)

func SomeFunc() {
    throttler.Do(func(){
        fmt.Println("run")
    })
}

License

The MIT License (MIT)

About

lodash throttle like Go library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages