Comments (1)
Found in the docs that this error is by design... however, it's quite a confusing dev experience.
Better would be to remove the method on the worker namespace, since it's not an alias.
Starting in v1.23 Deno.exit() no longer exits the process with the provided exit code. Instead is an alias to self.close(), which causes only the worker to shutdown. This better aligns with the Web platform, as there is no way in the browser for a worker to close the page.
from deno.
Related Issues (20)
- .jsonc doesn't work for external import_map.jsonc, but works for deno.jsonc HOT 1
- Support create-astro HOT 5
- React/jsx-runtime subpath './jsx-runtime' not resolved for types in Deno 1.41.0 HOT 1
- `arch` and `platform` are empty strings in `node:process`
- /tools/format.js not working HOT 1
- deno publish: Incorrect error for symbol as a property HOT 4
- bug: `bench` workflow is failing
- Memory-backed KV data disappears mid test
- npm package node-xlsx can not work HOT 1
- Running `strip` on compile outputs removes the embedded source code HOT 2
- "--unstable-temporal" don't work on deno compile HOT 1
- Deno Occasionally Panics on 1.41.0 When Caching Dependencies HOT 6
- suggestion: notify when WPT tests fail
- Unstable Temporal API disappeared from Deno Compile after DenoRT switch HOT 2
- automatic body compression for text/event-stream HOT 2
- deno publish is not working after deno init HOT 3
- [node-compat] `HttpsClientRequest.write()` for a DELETE request
- import completions not working with import maps
- `deno test` panicked at `cli\tools\test\channel.rs:218:53` on windows HOT 1
- Bug: import reads '\r' as a '\n' character 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 deno.