git ssb

0+

wanderer🌟 / js-primea-hypervisor



Tree: fad57dff2dd8eeb05b10062b336a4c44cf1bd050

Files: fad57dff2dd8eeb05b10062b336a4c44cf1bd050 / egressDriver.js

273 bytesRaw
1const {ID} = require('./systemObjects')
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 runMessage (message) {
11 this.emit('message', message)
12 }
13}
14

Built with git-ssb-web