// Broadcast the applied DocOp all the participants, ignoring the sender.
ServerToClientDocOpsImpl broadcastedDocOps =
ServerToClientDocOpsImpl.make().setDocOps(appliedDocOpsList);
vertx.eventBus().send("participants.broadcast", new JsonObject().putString(
Participants.OMIT_SENDER_TAG, authorId).putString(
"payload", broadcastedDocOps.toJson()));
return broadcastedDocOps;
} catch (DocumentOperationException e) {
logger.error(String.format("Failed to apply DocOps [%s]", serializedDocOps));
}
return null;