Is it possible to create multiple instances of the SignalR proxy server or implement a function callback once?
If I write something like:
var obj1 = function()
{
var someHub = $.connection.someHub;
var self = this;
someHub.client.someFunction = function(item){
};
}
var obj2 = function()
{
var someHub = $.connection.someHub;
var self = this;
someHub.client.someFunction = function(item){
};
}
Which incarnation someFunctionwould be triggered? Is it possible to implement the same function twice and execute both implementations?
source
share