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

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

Parameters

target
Type: Akka.Actor.IActorRef
TBD
timeout
Type: System.TimeSpan
TBD
stopMessage
Type: System.Object
TBD

Return Value

Type: Task<Boolean>
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