Files: 7c1b9abb1401216b0a7325dfb2213933eda8826a / egressDriver.js
289 bytesRaw
1 | const {ID} = require('primea-objects') |
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 | startup () {} |
11 | |
12 | runMessage (message) { |
13 | this.emit('message', message) |
14 | } |
15 | } |
16 |
Built with git-ssb-web