ActorSystemAwaitTermination Method (TimeSpan) |
Block current thread until the system has been shutdown, or the specified
timeout has elapsed.
This will block until after all on termination callbacks have been run.
Returns true if the system was shutdown during the specified time;
false if it timed out.
Namespace: Akka.ActorAssembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
Syntaxpublic abstract bool AwaitTermination(
TimeSpan timeout
)
Public MustOverride Function AwaitTermination (
timeout As TimeSpan
) As Boolean
public:
virtual bool AwaitTermination(
TimeSpan timeout
) abstract
abstract AwaitTermination :
timeout : TimeSpan -> bool
Parameters
- timeout
- Type: SystemTimeSpan
The timeout.
Return Value
Type:
BooleanReturns
true if the system was shutdown during the specified time;
false if it timed out.
See Also