git ssb

0+

wanderer🌟 / js-primea-hypervisor



Tree: dab3811ca5fd385b1f4a2ee97f904ae240f426af

Files: dab3811ca5fd385b1f4a2ee97f904ae240f426af / common.js

295 bytesRaw
1const Message = require('./message')
2
3exports.PARENT = Symbol('parent')
4exports.ROOT = Symbol('root')
5exports.getterMessage = (name, path) => {
6 const message = new Message({
7 data: {
8 getValue: name
9 },
10 sync: true
11 })
12 if (path) {
13 message.to = path
14 }
15 return message
16}
17

Built with git-ssb-web