broadcastActionComplete

fun broadcastActionComplete(actionId: String, requestId: String?, success: Boolean, message: String, data: Map<String, Any?>? = null)

Broadcasts an action completion notification to the connected client.

Parameters

actionId

the ID of the completed action

requestId

the original request ID (for correlation)

success

whether the action completed successfully

message

a status message about the completion

data

optional result data from the action