北斗短报文通信服务平台
This commit is contained in:
8
app/middleware/shunt/socketEmitter.js
Normal file
8
app/middleware/shunt/socketEmitter.js
Normal file
@@ -0,0 +1,8 @@
|
||||
// socket事件监听器
|
||||
const EventEmitter = require('events');
|
||||
|
||||
const socketEmitter = new EventEmitter();
|
||||
|
||||
module.exports = () => {
|
||||
return socketEmitter;
|
||||
};
|
||||
Reference in New Issue
Block a user