Re: [v8-dev] Terminate an async function using TerminateExecution

2023-06-28 Thread Ben Noordhuis
On Tue, Jun 27, 2023 at 12:57 PM Meir Shpilraien wrote: > > Hey > > I notice that when I terminate an async function using TerminateExecution the > promise that was suppose to be resolved/rejected as a result of this async > function termination are not resolved nor rejected. To demonstrate, loo

[v8-dev] Terminate an async function using TerminateExecution

2023-06-27 Thread Meir Shpilraien
Hey I notice that when I terminate an async function using TerminateExecution the promise that was suppose to be resolved/rejected as a result of this async function termination are not resolved nor rejected. To demonstrate, look at the following example: ```js async function foo(){ await