comments
This commit is contained in:
parent
903dba8fdd
commit
d57cc3b147
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user