dispatcher.js 300 B

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