github.com/lingyao2333/mo-zero@v1.4.1/core/executors/vars.go (about)

     1  package executors
     2  
     3  import "time"
     4  
     5  const defaultFlushInterval = time.Second
     6  
     7  // Execute defines the method to execute tasks.
     8  type Execute func(tasks []interface{})