Skip to content
View source

publishGenerated

Category: Creation protocol · Session

Compiles, validates and prepares a Kernel, then swaps it in whole; answered once it stands. The running world changes, not a file: the document it came from is left as it is.

Compiles, validates and prepares a Kernel, then swaps it in whole; answered once it stands. The running world changes, not a file: the document it came from is left as it is.

{"id": 1, "op": "publish", "source": "kernel demo.x@1 { … }"}
Name Type Required Description
source string yes a document with one Kernel
expect "absent" | "any" | integer no absent for a new Kernel, a generation kernels answered, or any; any when not given

id, generation; and when it computes a <~ port’s initial source, keeps (those node.ports, which keep what they committed) and reset (the requests that start them from the new law)