Comments (2)
All instances of ExternalCopy
are transferable no matter what.
If you do ref1.apply()
and that function then does ref2.apply()
without a try/catch in place and ref2
returns a non-transferable value then that exception would indeed throw back out to whoever invoked ref1.apply()
.
I suspect cross-isolate stack traces will be interesting to trace. Currently if you inspect the stack
property of the error it should be the trace from where the error was first constructed. But an error could be thrown back and forth between your isolates depending on how your code is structured.
from isolated-vm.
Hopefully I understand well what can and cannot be transferred. I opened #43 to make this understanding available in code.
from isolated-vm.
Related Issues (20)
- How would one go about making an http request. HOT 7
- 4.7.0 and 4.7.1 missing on npm
- Strange `symbol not found` error on docker image `node:20.11.0-alpine` HOT 3
- Use after free HOT 1
- An error occurred while using inspector-example.js HOT 1
- Bun.js Unable to Execute Isolated-VM HOT 2
- Minimal representation of isolate code hanging the entire process
- _ZNK2v810StackFrame11GetLocationEv: symbol not found HOT 5
- Cannot get returned value after bundling using webpack HOT 5
- Ability to capture swallowed promise rejections/errors HOT 1
- Heap out of memory HOT 1
- `memoryLimit` not being applied to isolate
- #<Promise> could not be cloned. HOT 2
- Question about maintenance mode HOT 2
- Segmentation fault while trying to use native-example from this repo HOT 2
- Environment can be null HOT 1
- How to add --no-node-snapshot option when running the command npx jest? HOT 1
- TypeError: #<Promise> could not be cloned. HOT 1
- yarn add isolated-vm fails with a build error on latest stable versions HOT 3
- Docker build error in git action with linux/arm64 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from isolated-vm.