RoslynLifetimeManager.WarmupRoslyn

Run a script execution asynchronously in the background to warm up Roslyn. Call this during application startup or anytime before you run the first script to ensure scripts execute quickly.

Although this method returns Task so it can be tested for success, in applications you typically will call this without await on the result task and just let it operate in the background.

public Task<bool> WarmupRoslyn()