title: Why is it required to assign a function on the client of a Signalr jquery client?
body: <p>I am using Signalr 2.2.0. On the  jquery.signalR client, I have to put a "void" function in order for the event OnDisconnected to be called from the client successfully. </p>
  
  <p>Ex.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>hubNameHub.client.void = function() {};
  
  MyNamespace.Hub = connection.hub.start();
  MyNamespace.Hub.done(function() {});</code></pre>
  </div>
  </div>
  </p>