1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
'use strict' const EventEmitter = require('events') class Dispatcher extends EventEmitter { dispatch () { throw new Error('not implemented') } close () { throw new Error('not implemented') } destroy () { throw new Error('not implemented') } } module.exports = Dispatcher