public class Class
{
public TaskAwaiter GetAwaiter() => new TaskAwaiter();
}
class Program
{
static async Task Main() => await new Class();
}
Microsoft obviously anticipates that they will gain more control by using WebView2 instead of depending on Electron’s well-documented appetite for consuming as much memory as it can.