github.com/onflow/flow-go@v0.35.7-crescendo-preview.23-atree-inlining/engine/execution/ingestion/fetcher.go (about) 1 package ingestion 2 3 import "github.com/onflow/flow-go/model/flow" 4 5 // CollectionFetcher abstracts the details of how to fetch collection 6 type CollectionFetcher interface { 7 // FetchCollection decides which collection nodes to fetch the collection from 8 // No error is expected during normal operation 9 FetchCollection(blockID flow.Identifier, height uint64, guarantee *flow.CollectionGuarantee) error 10 11 // Force forces the requests to be sent immediately 12 Force() 13 }