Middleware executors form the building blocks of the middleware chain. Each executor
receives the next function in the chain and returns a new fetch function with its
logic applied. This pattern enables request/response interception, transformation,
and error handling.
A function that wraps a fetch function with middleware logic.