Hello guys,
I want to implement a simple request (a general request, not necessary an HTTP) handler where incoming requests are processed serially and in FIFO order.
I need to provide an interface that notifies the caller when: 1) request processing has started (e.g., the request the caller submitted has been taken out of the queue and is about to be processed), and 2) the result of the request processing is available. Error observability is also required. The request type is specified by the type parameter.
In my particular case request processing means bytes are written to a socket.
More in the thread 🧵