Pretty much all recessions have been predated by an inverted yield curve event. As of yet, that hasn't happen. I suspect this is more of a correction, though an inversion can still occur.
There was an inversion in late 2020, but it was extremely brief which has happened before without a recession. A more sustained inversion is pretty much a warning sign that it's definitely coming.
That said, the inverted yield curve can predate a recession by over a year in some cases. So just because we had a minor inversion doesn't mean it cannot still lead a recession a year afterwards.
Remember, the Fed has been feeding the economy since COVID struck and are about to tapper off that feeding and make the economy stand on it's own legs. Clearly what we are seeing now means it doesn't like what it's tasting. Of course, when you're being fed free money, who would like it when that pipeline gets turned off.