Click or drag to resize
Akka.NETGracefulStopSupportGracefulStop Method (IActorRef, TimeSpan, Object)
TBD

Namespace:  Akka.Actor
Assembly:  Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public static Task<bool> GracefulStop(
	this IActorRef target,
	TimeSpan timeout,
	Object stopMessage
)

Parameters

target
Type: Akka.ActorIActorRef
TBD
timeout
Type: SystemTimeSpan
TBD
stopMessage
Type: SystemObject
TBD

Return Value

Type: TaskBoolean
TBD

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IActorRef. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
TaskCanceledException This exception is thrown if the underlying task is Canceled.
See Also