@decohere/flux 0.0.1-dev.106 → 0.0.1-dev.108

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -145,7 +145,7 @@ On a watched change that reaches a served entry, Flux invalidates that subgraph,
145
145
 
146
146
  The `export default { async [Symbol.asyncDispose]() { … } }` in the server example above is that contract. Close servers, pools, and timers there — not in a `process.on("SIGINT")` handler Flux does not own.
147
147
 
148
- **Cortex APIs** scaffold `export default app`. `App.dispose` disposes the Crucible root container, then Scribe. Constructed services that implement `Symbol.asyncDispose` (or `Symbol.dispose`) are torn down automatically — including the HTTP provider. Put teardown on the service; do not wrap the default export to close sockets or pools.
148
+ **Cortex APIs** scaffold `export default app`. `App.dispose` disposes the Crucible root container, then Scribe. Constructed services that implement `Symbol.asyncDispose` (or `Symbol.dispose`) are torn down automatically — including the HTTP provider. Background work (timers, feeds, pollers) belongs in a [hosted service](../cortex/README.md#hosted-services): its signal is aborted and it is stopped on every reboot, so nothing keeps running into the next one. Put teardown on the service; do not wrap the default export, and do not keep workers in globals across reboots.
149
149
 
150
150
  Flux clears its reference to the object *before* calling dispose, so a failed boot cannot dispose the same instance twice.
151
151
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decohere/flux",
3
- "version": "0.0.1-dev.106",
3
+ "version": "0.0.1-dev.108",
4
4
  "description": "Hot module reload server for Node.js ESM applications",
5
5
  "keywords": [
6
6
  "typescript",
@@ -25,11 +25,11 @@
25
25
  "test": "echo \"Error: no test specified\" && exit 1"
26
26
  },
27
27
  "dependencies": {
28
- "@decohere/crucible": "0.0.1-dev.106",
29
- "@decohere/forge": "0.0.1-dev.106",
30
- "@decohere/mesh": "0.0.1-dev.106",
31
- "@decohere/nexus": "0.0.1-dev.106",
32
- "@decohere/scribe": "0.0.1-dev.106",
28
+ "@decohere/crucible": "0.0.1-dev.108",
29
+ "@decohere/forge": "0.0.1-dev.108",
30
+ "@decohere/mesh": "0.0.1-dev.108",
31
+ "@decohere/nexus": "0.0.1-dev.108",
32
+ "@decohere/scribe": "0.0.1-dev.108",
33
33
  "commander": "^13.1.0",
34
34
  "rxjs": "^7.8.2"
35
35
  },