Module state is hq ADR 0202: 0201 landed first for a provider's derivations
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
mt "github.com/novox/mesh-tools/node-tools/internal/meshtest"
|
||||
)
|
||||
|
||||
// novox/hq ADR 0201: a module keeps its current state in buckets it declares, and its code reaches
|
||||
// novox/hq ADR 0202: a module keeps its current state in buckets it declares, and its code reaches
|
||||
// them through the runtime. The owner's instances write and read; a reader only reads; a watch hands
|
||||
// the current values — none that is deleted — and then every change; the runtime refuses, with the
|
||||
// reason, what the module was not issued, a write to state it only reads, and a value naming a
|
||||
@@ -136,7 +136,7 @@ func waitFor(t *testing.T, path, line string) {
|
||||
})
|
||||
}
|
||||
|
||||
// The TypeScript SDK against the runtime (ADR 0201): two watches of one state, each handed only its
|
||||
// The TypeScript SDK against the runtime (ADR 0202): two watches of one state, each handed only its
|
||||
// own changes, the current values handled before the module's import goes on.
|
||||
func TestTheSDKsStateReachesTheRuntime(t *testing.T) {
|
||||
mesh := mt.New(t)
|
||||
|
||||
Reference in New Issue
Block a user