go-zero/core/executors/vars.go

9 lines
155 B
Go
Raw 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.
type Execute func(tasks []any)