Whilst an inverted yield curve predicts recession its the re-steepening that tells you recession is coming. My view has been that when the yield curve steepens again and stocks fall substantially that is a good leading indicator of economic contraction. US stocks are still near record highs so its to early to call. I wrote about this a few months ago.
There is more info about the yield curve in the wiki….