github.com/onflow/flow-go@v0.35.7-crescendo-preview.23-atree-inlining/module/mempool/common.go (about) 1 package mempool 2 3 import "github.com/onflow/flow-go/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)