cancel method
Implementation
Future<void> cancel(String path, MeshDocument thread) async {
for (final participant in getOnlineParticipants(thread)) {
if (participant is RemoteParticipant && participant.role == "agent") {
await room.messaging.sendMessage(to: participant, type: "cancel", message: {"path": path});
}
}
}