github.com/koko1123/flow-go-1@v0.29.6/module/mempool/common.go (about) 1 package mempool 2 3 import "github.com/koko1123/flow-go-1/model/flow" 4 5 // OnEjection is a callback which a mempool executes on ejecting 6 // one of its elements. The callbacks are executed from within the thread 7 // that serves the mempool. Implementations should be non-blocking. 8 type OnEjection func(flow.Entity)