You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-zero/core/executors/vars.go

9 lines
163 B
Go

4 years ago
package executors
import "time"
const defaultFlushInterval = time.Second
// Execute defines the method to execute tasks.
4 years ago
type Execute func(tasks []interface{})