/// <summary> /// Stop service bus and block thread until bus will be stopped. /// Maybe rename it to Stop() ? /// </summary> public void Wait() { _transportEndpointObserver.Wait(); _status = ServiceBusStatus.Stopped; }
/// <summary> /// Stop service bus and block thread until bus will be stopped. /// Maybe rename it to Stop() ? /// </summary> public void Wait() { _transportEndpointObserver.Wait(); _status = ServiceBusStatus.Stopped; }