You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to figure out how I could send messages from the server to clients. I have searched the issues here and found some topics about SignalR, but I have no idea how to do that nor if it is possible at all at the moment.
My example is the book list from the template. I can remove a book by its ISBN and I want other clients to have the modified list of books in sync.
There is BookService with following function:
removeBookByIsbn = ctx.Authorize <| fun isbn -> async {
books.RemoveAll(fun b -> b.isbn = isbn) |> ignore
//How to inform clients that the list has changed?
}
Thx
The text was updated successfully, but these errors were encountered:
Is there a Bolero project template that uses SignalR for real-time communication (not just one-way broadcast) between server and client rather than XHR requests?
I'm trying to figure out how I could send messages from the server to clients. I have searched the issues here and found some topics about SignalR, but I have no idea how to do that nor if it is possible at all at the moment.
My example is the book list from the template. I can remove a book by its ISBN and I want other clients to have the modified list of books in sync.
There is
BookService
with following function:Thx
The text was updated successfully, but these errors were encountered: