How do I await all unsettled promises after Context.Run()?
js code
(async () => {
await Promise.resolve();
throw new Error('test');
})();
console.log('after');
cs code
var ctx = new Context();
ctx.Eval("<js code>");
// ctx.WaitForPromises() -> should throw on unhandled rejections