Well, in the case of a computer program it is not achievable, there will always be some latency. Only the analog solution will give the desired effect.
In total, in each DAW you can perform real-time monitoring of the connected equipment, but it is related to latency, as a colleague wrote above, and it can be influenced by increasing or decreasing the ASIO driver buffer.
Only non-professional equipment will not allow you to descend too low with a delay. It's once. And two that very small buffers cause a very high CPU load and unreliability. There may often be so-called 'drops', i.e. missing samples. As Paweł wrote, either an analog solution or a card that implements it digitally but in hardware in the internal DSP, not in the computer through the DAW.