messages.md
April 2, 2017 ยท View on GitHub
The job of the executors is to process messages. Each message has a "point", the most common is "execute", it creates a new node. Other messages impact those living nodes.
keys common to all messages (or most of them)
"point"
"exid"
"nid"
"payload"
"vars"
"m"
"sm"
"remove_node"
When false, the emitting node is not removed from the receiving node's cnodes list. Using by flanking nodes.
messages by point
"execute"
As said above an "execute" message creates a new node (unless the "tree" it holds is broken at its root).
{
point: "execute",
exid: "xxx", // execution id
nid: "xxx", // node id
tree: [ "task", { "_0": "stamp" }, [] ],
payload: { color: "blue" }
}