custom-module: expose tcpServer

This commit is contained in:
jean-emmanuel 2024-02-21 10:51:50 +01:00
parent fbfa41bd5a
commit 3ed11f3894
3 changed files with 20 additions and 0 deletions

View file

@ -18,6 +18,7 @@ class OscServer {
this.customModuleEventEmitter = new EventEmitter()
this.customModule = settings.read('custom-module') ? new CustomModule(settings.read('custom-module'), {
app: this.customModuleEventEmitter,
tcpServer: oscTCPServer,
sendOsc: this.sendOsc.bind(this),
receiveOsc: this.receiveOsc.bind(this),
send: (host, port, address, ...args)=>{