Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GR-53491] Consider adding support for Callback on closing event of polyglot Context object #8780

Open
FieryCod opened this issue Apr 17, 2024 · 0 comments
Assignees

Comments

@FieryCod
Copy link

FieryCod commented 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.

@oubidar-Abderrahim oubidar-Abderrahim self-assigned this Apr 17, 2024
@oubidar-Abderrahim 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants