This is SWIG JavaScript Evolution, a fork of the SWIG project with modern JavaScript/TypeScript support including WASM and async
7
stars
0
forks
source link
Throwing in `out` typemaps results in uncatchable exceptions when using async mode #17
Closed
mmomtchev closed 5 months ago
The following out typemap throws an uncatchable exception in async mode - it is executed from the event loop with no javascript on the stack.
The correct behavior would be to reject the promise.