Files: 72a22f7318aa0ad186ba6c2b134f0d45a091a18d / egressDriver.js
273 bytesRaw
1 | const {ID} = require('./systemObjects') |
2 | const EventEmitter = require('events') |
3 | |
4 | module.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