function broadcastCommentDeleted
broadcastCommentDeleted(
commentId: string,
dump: { id: string; isPrivate: boolean; userId: string; }
): void

Sends comment_deleted, as broadcastCommentCreated does.

Parameters

commentId: string
dump: { id: string; isPrivate: boolean; userId: string; }

Return Type

void

Usage

import { broadcastCommentDeleted } from "api/services/ws-service.ts";