import { listenUdsBroadcast } from "https://deno.land/x/simple_ipc@v0.1.3/mod.ts";
The path to the socket file will be /tmp/(ch).sock
. /tmp
is C:/Windows/Temp
if Windows.
Type Parameters
T extends MessageBody
Parameters
onMessage: MessageHandler<T, void>
Handler function that is called each time data is received from the remote client.