Hi Ram,
Thank you very much for the positive feedback!
Unfortunately none of the script engines supported by ClearScript appear to provide the sort of notifications you're looking for. V8 has several low-level profiling hooks, but we haven't explored those and it isn't clear how useful they'd be for your purposes.
If your script code often calls into the host, you might be able to use
Thanks again, and good luck!
Thank you very much for the positive feedback!
Unfortunately none of the script engines supported by ClearScript appear to provide the sort of notifications you're looking for. V8 has several low-level profiling hooks, but we haven't explored those and it isn't clear how useful they'd be for your purposes.
If your script code often calls into the host, you might be able to use
ScriptEngine.GetStackTrace()
as a basis for gauging execution progress, but stack trace parsing is a fragile approach. A better solution, if practical, is to have the script code report its own progress via a host API that you provide.Thanks again, and good luck!