package fr.titionfire.ffsaf.ws.send;

import fr.titionfire.ffsaf.domain.entity.CardboardEntity;
import fr.titionfire.ffsaf.ws.CompetitionWS;
import io.quarkus.websockets.next.WebSocketConnection;
import io.smallrye.mutiny.Uni;

public class SSCardboard {

    public static Uni<Void> sendCardboard(WebSocketConnection connection, CardboardEntity cardboardEntity) {
        return CompetitionWS.sendNotifyToOtherEditor(connection, "sendCardboard", cardboardEntity);
    }
}
