function broadcastCommentUpdated
broadcastCommentUpdated(
comment: Comment,
dump: { isPrivate: boolean; userId: string; }
): void

Sends comment_updated, as broadcastCommentCreated does.

Parameters

comment: Comment
dump: { isPrivate: boolean; userId: string; }

Return Type

void

Usage

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