OrleansContrib / SignalR.Orleans

SignalR backend based on Orleans.
MIT License
295 stars 64 forks source link

use of RegisterHub method #124

Open virusharma opened 3 years ago

virusharma commented 3 years ago

I was going through the source and I saw RegisterHub method but I did not see it is used anywhere. Even Sample project does not use it on startup. I am wondering what this method does? and when to use it?

https://github.com/OrleansContrib/SignalR.Orleans/blob/master/src/SignalR.Orleans/HostingExtensions.cs#L51

As far as I understand, It is supposed to be used if we want to setup streams as soon as silo is active but current sample project does not do that so does that mean streams are setup only when connection request comes in?