event.go 230 Bytes
Newer Older
hujiebin's avatar
hujiebin committed
1 2 3 4 5 6 7 8 9
package domain

//异步执行的接口
type AsyncEvent interface {
	AsyncDo(model *Model, eventData interface{}, n int) error
	AsyncSize() int
	AsyncNoTxDo(model *Model, eventData interface{}, n int) error
	AsyncNoTxSize() int
}