Ovinomancer
No flips for you!
From the combat rules: "You can make an opportunity attack when a hostile creature that you can see moves out of your reach. To make the opportunity attack, you use your reaction to make one melee attack against the provoking creature. The attack occurs right before the creature leaves your reach."
You can call this "before the trigger" or "interrupting the trigger," whichever. The difference is purely semantic, but "before the trigger" is how it's phrased in the rules. "Before the trigger takes effect" might be a more precise way of phrasing it.
This is why M:tG invented the stack. It might be going a little far to explicitly write the stack into the D&D rules, but IMO a stack-like approach is the right way to think about these things. First the trigger goes on the stack; then your reaction goes on the stack; then your reaction resolves; then the trigger resolves.
Okay, then, please answer the question: when can you make an opportunity attack? The answer is, "when a hostile creature that you can see moves out of your reach." They must do this before you can make an opportunity attack. How does that attack resolve? Well, it interrupts and occurs immediately before that creature leaves your reach. You cannot make an OA until and unless a hostile creature you can see leaves your reach.