« first day (4074 days earlier)      last day (876 days later) » 

1:22 AM
posted on December 10, 2021 by Phil Haack

In the System.Reactive.Disposables namespace (part of Reactive Extensions), there’s a small and useful Disposable class. It has a Create method that takes in an Action and returns an IDisposable instance. When that instance is disposed, the action is called. It’s a nice way of creating an ad-hoc IDisposable. I use them often for creating a scope in code where something should happen at the end

 
mr5
1:39 AM
@Wietlol I saw you updated your advent of code.
 
no you didnt
 
yes
 
 
12 hours later…
1:36 PM
So my SignalR clients have some ID saved in the hub's context. How Can I find a SignalR client by the ID saved in their context?
 
 
3 hours later…
4:20 PM
0
Q: Find SignalR client by ID in its context

SquirrelkillerSo I want to send a message to a specific client via SignalR. That client is not Clients.Caller - currently I can only identify it by let's call it "ID", a property in the context: this.Context.Items["ID"] So to find a client by its ID, how do I...access all clients or contexts? Or should I save ...

15min and still no rude comments lol
 

« first day (4074 days earlier)      last day (876 days later) »