A module's state through the runtime, in TypeScript and Go (novox/hq ADR 0201)

state(name) / stdio.State(name): get, put, delete, keys and watch over the
runtime's mesh/state verbs. A watch's handler is registered under the id it
is asked with, so its current values — which arrive before the watch is
answered — and its changes reach it and no other watch.
This commit is contained in:
jochen
2026-10-04 02:47:31 +02:00
parent 0b018562e3
commit 096c5562a4
12 changed files with 488 additions and 9 deletions
+3 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@novox/mesh-sdk",
"version": "0.1.6",
"version": "0.1.7",
"description": "The stable spine a Novox Mesh module's own code builds against.",
"type": "module",
"exports": {
@@ -11,7 +11,8 @@
"./messaging": "./dist/messaging/index.js",
"./events": "./dist/events/index.js",
"./primitives": "./dist/primitives/index.js",
"./stdio": "./dist/stdio/index.js"
"./stdio": "./dist/stdio/index.js",
"./state": "./dist/state/index.js"
},
"files": [
"dist"