GracefulStopSupport..::..GracefulStop Method (ActorRef, TimeSpan, Object)

Namespace:  Akka.Actor
Assembly:  Akka (in Akka.dll)

Syntax


public static Task<bool> GracefulStop(
	this ActorRef target,
	TimeSpan timeout,
	Object stopMessage
)
<ExtensionAttribute> _
Public Shared Function GracefulStop ( _
	target As ActorRef, _
	timeout As TimeSpan, _
	stopMessage As Object _
) As Task(Of Boolean)
[ExtensionAttribute]
public:
static Task<bool^>^ GracefulStop(
	ActorRef^ target, 
	TimeSpan^ timeout, 
	Object^ stopMessage
)

Parameters

target
Type: Akka.Actor..::..ActorRef
timeout
Type: TimeSpan
stopMessage
Type: Object