git ssb

0+

wanderer🌟 / js-primea-hypervisor



Commit 60e1d083f94f993b772846d9d209f845081a9094

added more to example

wanderer committed on 6/29/2017, 6:01:13 PM
Parent: 57aceb3a4770eb28d712a6473fecbbdbc4fb175b

Files changed

examples/index.jschanged
examples/index.jsView
@@ -71,8 +71,22 @@
7171 data: 'bindPort',
7272 ports: [chanRef2]
7373 }))
7474
75+ // after the recieving containers bind the ports in the messages the channel
76+ // topology will look like this. Where "[]" are the containers, "*" are the
77+ // ports that the container have and "(name)" is the port name.
78+ //
79+ // root container
80+ // [ ]
81+ // (one) * * (two)
82+ // / \
83+ // / \
84+ // / \
85+ // (parent)* * (parent)
86+ // [ ]*--------*[ ]
87+ // (channel) (channel)
88+
7589 // create a new state root. The state root is not created untill the
7690 // hypervisor has finished all of it's work
7791 const stateRoot = await hypervisor.createStateRoot()
7892 console.log(stateRoot)

Built with git-ssb-web