You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using PolyglotAPI one might want to patch setInterval/setTimeout via Java Executor Pool. In such cases when closing the Context I would like to handle clear interval and timeout signals and consume all remaining events.
This might be possible only by additional listener attached to Context and triggered upon "close".
I think this is very important for users who wrap already existing JS/Python libraries.
The text was updated successfully, but these errors were encountered:
oubidar-Abderrahim
changed the title
Consider adding support for Callback on closing event of polyglot Context object
[GR-53491] Consider adding support for Callback on closing event of polyglot Context object
Apr 17, 2024
Feature request
When using PolyglotAPI one might want to patch setInterval/setTimeout via Java Executor Pool. In such cases when closing the Context I would like to handle clear interval and timeout signals and consume all remaining events.
This might be possible only by additional listener attached to Context and triggered upon "close".
I think this is very important for users who wrap already existing JS/Python libraries.
The text was updated successfully, but these errors were encountered: