public async Task ZeroArgument() { client = StreamingHubClient.Connect <ITestHub, IMessageReceiver>(channel, this); await client.ZeroArgument(); await voidZeroTask.Task; //await zeroTask.Task; // ok, pass. await client.DisposeAsync(); }
public async Task ZeroArgument() { try { client = StreamingHubClient.Connect <ITestHub, IMessageReceiver>(channel, this); await client.ZeroArgument(); await voidZeroTask.Task; //await zeroTask.Task; // ok, pass. await client.DisposeAsync(); } catch (Exception e) { Console.WriteLine(e); throw; } }
public ValueController() { this.test = new TestHub(null); }