Click or drag to resize
Akka.NETActorPublisherTOnErrorThenStop Method

Terminate the stream with failure. After that you are not allowed to call OnNext(T), OnError(Exception) and OnComplete.

After signalling the Error the Actor will then stop itself as it has completed the protocol. When OnError(Exception) is called before any ISubscriber has had the chance to subscribe to this ActorPublisherT the error signal (and therefore stopping of the Actor as well) will be delayed until such ISubscriber arrives.

Namespace:  Akka.Streams.Actors
Assembly:  Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public void OnErrorThenStop(
	Exception cause
)

Parameters

cause
Type: SystemException
TBD
See Also