From bed932875a8e954a6b5dba743876506915214150 Mon Sep 17 00:00:00 2001 From: talksik Date: Wed, 18 May 2022 07:38:31 -0500 Subject: [PATCH] setting up boilerplate for notifying others of this new line but need a better system of loading and adding lines to each client on their own code --- packages/api/sockets/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/api/sockets/index.ts b/packages/api/sockets/index.ts index 9b22200..f44e3f9 100644 --- a/packages/api/sockets/index.ts +++ b/packages/api/sockets/index.ts @@ -161,6 +161,11 @@ export default function InitializeWs(io: any) { ); }); + // tell everyone in the channel to + // socket.on(ServerRequestChannels.CREATED_CHANNEL, (req: CreatedLineRequest) => { + + // }) + // tell all people in all my lines that I am disconnecting or untuning // tell the tuned in folks the new list of socket.on('disconnecting', (reason: any) => {