github.com/onflow/flow-go@v0.35.7-crescendo-preview.23-atree-inlining/module/finalizer/consensus/options.go (about)

     1  package consensus
     2  
     3  func WithCleanup(cleanup CleanupFunc) func(*Finalizer) {
     4  	return func(f *Finalizer) {
     5  		f.cleanup = cleanup
     6  	}
     7  }