Files

9 lines
163 B
Go
Raw Permalink Normal View History

2020-07-26 17:09:05 +08:00
package executors
import "time"
const defaultFlushInterval = time.Second
// Execute defines the method to execute tasks.
2020-07-26 17:09:05 +08:00
type Execute func(tasks []interface{})