Medium

You need to implement a middleware system that processes requests in order and can handle both synchronous and asynchronous middleware. What's the correct implementation?

Choose an option below