Posted 21 June 2022, 3:17 am EST
Hi all,I would like to report a spreadJS issue related to GC.Spread.CalcEngine.Functions.AsyncFunction, because if random #VALUE with calcError occurs in the spreadsheet, the application crashes with error calculateDirtyNodes when the result of async custom formula is evaluated using context.setAsyncResult(). If I evaluate the result as Promise.resolve().then (() => context.setAsyncResult()) the application does not crash.
Codesandbox: https://codesandbox.io/s/designer-react-sample-forked-ytyf04?file=/src/App.js
To replicate, please comment out line 142 and uncomment 140.
Thank you for you help!