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?
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?
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?