peers/peerjs-server

View on GitHub
src/messageHandler/handler.ts

Summary

Maintainability
A
0 mins
Test Coverage
import type { IClient } from "../models/client.ts";
import type { IMessage } from "../models/message.ts";

export type Handler = (
    client: IClient | undefined,
    message: IMessage,
) => boolean;