public Task Stopping(ReceiveEndpointStopping stopping) { if (stopping.Removed && _endpoints.TryGetValue(stopping.InputAddress, out var endpoint)) { _endpoints.TryUpdate(stopping.InputAddress, new RemoveWhenCompletedEndpointHealth(stopping.ReceiveEndpoint), endpoint); } return(TaskUtil.Completed); }
public Task Stopping(ReceiveEndpointStopping stopping) { UpdateEndpoint(stopping); if (stopping.Removed) { _endpoints.TryRemove(stopping.InputAddress, out var endpoint); } return(TaskUtil.Completed); }
public Task Stopping(ReceiveEndpointStopping stopping) { GetEndpoint(stopping); return(TaskUtil.Completed); }
public Task Stopping(ReceiveEndpointStopping stopping) { return(_endpointHealth.Stopping(stopping)); }
Task IReceiveEndpointObserver.Stopping(ReceiveEndpointStopping stopping) { return(TaskUtil.Completed); }
public Task Stopping(ReceiveEndpointStopping stopping) { return(Util.TaskUtil.Completed); }
public Task Stopping(ReceiveEndpointStopping stopping) { GetEndpoint(stopping.InputAddress).OnStopping(); return(TaskUtil.Completed); }
public Task Stopping(ReceiveEndpointStopping stopping) { return(Task.CompletedTask); }
public Task Stopping(ReceiveEndpointStopping stopping) { return(_machine.RaiseEvent(_endpoint, x => x.ReceiveEndpointStopping, stopping)); }
public Task Stopping(ReceiveEndpointStopping stopping) { return(ForEachAsync(x => x.Stopping(stopping))); }
public Task Stopping(ReceiveEndpointStopping stopping) { return(_serviceEndpoint.NotifyDown()); }