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

feat(worker): expose AbortController to the worker sandbox #1576

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lukeramsden
Copy link
Contributor

What was changed

Exposed AbortController builtin to the sandbox

Why?

Checklist

  1. Closes [Feature Request] Expose AbortController in Workflow sandbox #1564

  2. How was this tested:

Tested locally and with a test

  1. Any docs updates needed?

@lukeramsden lukeramsden requested a review from a team as a code owner November 28, 2024 12:16
@@ -86,6 +86,7 @@ export class VMWorkflowCreator implements WorkflowCreator {
__webpack_module_cache__: {},
TextEncoder,
TextDecoder,
AbortController,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't get a test to falsify this change - only the change in reusable-vm makes the tests pass or fail. Is there something I'm missing in terms of how to get this VM class to be the one that's used?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] Expose AbortController in Workflow sandbox
1 participant