git ssb

0+

wanderer🌟 / js-primea-hypervisor



Tree: c74e7359bd1924e6814d6f8894e96e4fe4ed10b7

Files: c74e7359bd1924e6814d6f8894e96e4fe4ed10b7 / egressDriver.js

289 bytesRaw
1const {ID} = require('primea-objects')
2const EventEmitter = require('events')
3
4module.exports = class Egress extends EventEmitter {
5 constructor () {
6 super()
7 this.id = new ID(Buffer.from([0]))
8 }
9
10 startup () {}
11
12 runMessage (message) {
13 this.emit('message', message)
14 }
15}
16

Built with git-ssb-web