Hi,
here the related code portion that have an issue
hubconnection.On<ConsRequest>("Rcv_ConsPatReady", async (ConsRequest item) =>
{
if (item != null)
{
var c = await service.AddOrUpdateConsultation(item.PatientID,
item.DoctorID,
item.OperatorID,
item.Specialite,
item.Motif);
if (c != null)
{
await hubconnection.SendAsync("Snd_NewConsStarted", c.ID);
string url = "/Consultation/NewCons/" + c.ID.ToString();
await jsRuntime.InvokeAsync<object>("open", url, "_blank");
}
}
});
with the help of some break point the Snd_NewConsStarted call reach the hub but not the other clients .
no errors or exception but it seem that there is some general "silent" SignalR exception because other calls stop working as well .
if i call
await hubconnection.SendAsync("Snd_NewConsStarted", c.ID);
from the outside like on a button click for exampleit works correctly and i can reach the hub and the other clients , but not inside the signalr on event .
any idea on wha't happening please .
thanks .
