Console Application.DoEvents() SOLVED!! example
Your resource For SharePoint, SPFx, PowerApps, PowerBI, Office365 and more