# Functions
NewBlockIterator creates a new BlockIterator with the specified offset, end, and batch size.
NewWorker creates a new instance of a type-specific Worker.
# Structs
BlockIterator manages the iteration over a range of blocks, supporting batching and thread-safe updates to the current offset.
OrderedResult holds the result of processing a descriptor, including its index, the response, and any error encountered.
Worker represents a type-specific worker that processes descriptors using a provided WorkerFn.
# Type aliases
WorkerFn defines a generic function type that takes a descriptor of type T and returns a response of type R and an error.