peepee
Version:
Visual Programming Language Where You Connect Ports Of One EventEmitter to Ports Of Another EventEmitter
21 lines (14 loc) • 307 B
JavaScript
import { EventEmitter } from "events";
export default class CombineLatestAgent extends EventEmitter {
id;
constructor({id}){
super()
this.id = id;
}
async start(){
console.log('Start', this.constructor.name)
}
async stop(){
console.log('Stop', this.constructor.name)
}
}