public FileSystemQuery_SignalrDispatcherFixture() { Console.WriteLine("Starting Service Dispatcher"); Task.Run(async() => { _dispatcher = RelayDispatcher <SignalrRelayDispatcher <FileSystemQueryService, FileSystemQueryRequest, FileSystemQueryResponse>, FileSystemQueryService, FileSystemQueryRequest, FileSystemQueryResponse> .CreateInstance(); await _dispatcher.StartAsync(_ct); }); Console.WriteLine("Service Dispatcher started."); }
public Calculator_SignalrDispatcherFixture() { Console.WriteLine("Starting Service Dispatcher"); Task.Run(async() => { _dispatcher = RelayDispatcher <SignalrRelayDispatcher <CalculatorService, CalculatorRequest, CalculatorResponse>, CalculatorService, CalculatorRequest, CalculatorResponse> .CreateInstance(); await _dispatcher.StartAsync(_ct); }); Console.WriteLine("Service Dispatcher started."); }