Akka.NET Documentation
Akka.NET Documentation
API Reference
Akka.Streams.Actors
ActorPublisher(T) Class
ActorPublisher(T) Methods
AroundPostRestart Method
AroundPostStop Method
AroundPreRestart Method
AroundPreStart Method
AroundReceive Method
OnComplete Method
OnCompleteThenStop Method
OnError Method
OnErrorThenStop Method
OnNext Method
ActorPublisher
T
OnComplete Method
Complete the stream. After that you are not allowed to call
OnNext(T)
,
OnError(Exception)
and
OnComplete
.
Namespace:
Akka.Streams.Actors
Assembly:
Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
C#
F#
Copy
public
void
OnComplete
()
member
OnComplete
:
unit
->
unit
Exceptions
Exception
Condition
IllegalStateException
This exception is thrown for a number of reasons. These include:
when in the
ErrorEmitted
state
This exception is thrown when this
ActorPublisher
T
has already terminated due to an error.
when in the
Completed
or
CompleteThenStop
state
This exception is thrown when this
ActorPublisher
T
has already completed.
See Also
Reference
ActorPublisher
T
Class
Akka.Streams.Actors Namespace
Akka.NET Home
|
Learn Akka.NET