15815213711
2024-08-26 67b8b6731811983447e053d4396b3708c14dfe3c
1
2
3
4
5
6
7
'use strict';
 
module.exports = (from, to, events) => {
    for (const event of events) {
        from.on(event, (...args) => to.emit(event, ...args));
    }
};