This commit is contained in:
Ben 2020-09-27 02:06:17 -07:00
parent 903dba8fdd
commit d57cc3b147

View File

@ -11,10 +11,19 @@ module.exports = () => {
const s = new stream.Writable();
// const lifee = new EventEmitter();
// gets called by c with 1 argument, a number
const lifemit = s.emit.bind(s);
const triee = new EventEmitter();
// gets called by c with 5 arguments
// string eventName
// number state->time
// int command
// int state->value
// int state->mask
const triemit = triee.emit.bind(triee);
let triemit2 = triemit;