Find Thread.Sleep usage
ProprietaryDetect Thread.Sleep() which blocks the thread. Use await Task.Delay() in async contexts instead.
OpenRewrite. Recipes. CSharp. CodeQuality. Style. FindDoNotUseSleepmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Style. FindDoNotUseSleepInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.