public void Cancel() { _downstreamCompleted = true; _subscriber = null; _exposedPublisher.Shutdown(new NormalShutdownException("UpstreamBoundary")); Cancel(In); }
public void ExposedPublisher(ActorPublisher <T> publisher) { _exposedPublisher = publisher; if (_upstreamFailed != null) { publisher.Shutdown(_upstreamFailed); } else { if (_upstreamCompleted) { publisher.Shutdown(null); } } }