public Task StartAsync(CancellationToken cancellationToken = new CancellationToken()) { return(Task.Factory.StartNew(() => { GrpcServiceManager.Start(Greeter.BindService(_greeterService)); }, cancellationToken)); }
public Task StopAsync(CancellationToken cancellationToken = new CancellationToken()) { return(Task.Factory.StartNew(() => { GrpcServiceManager.Stop(); }, cancellationToken)); }