-
Notifications
You must be signed in to change notification settings - Fork 200
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
Run cloud.Function
outside of NodeJS vm sandbox
#4725
Comments
Maybe another option: WinterJS |
Could this possibly address the problem I'm currently facing with |
In the future I think we'd be interested in exploring different runtimes (and/or allowing easy choosing), but to start with we're focusing on maximizing nodejs compatibility.
Probably not, sounds more like a Promise is dangling somewhere. |
Congrats! 🚀 This was released in Wing 0.59.43. |
Feature Spec
When invoking a
cloud.Function
in the simluator, an isolated worker/process is spawned to do the work. This should work/feel similar to simply running the inflight code in a new nodejs process.Use Cases
Provides a more realistic experience of running JS like you might experience on serverless platforms.
Will fix bugs relating to using VM sandboxes like:
==
) does not work properly inflight #4118Implementation Notes
Depends on #4697
The two primary options are
cloud.Function
by just runningnode
with argumentsComponent
SDK
Community Notes
The text was updated successfully, but these errors were encountered: