Click or drag to resize
ActorSystemAwaitTermination Method
Overload List
  NameDescription
Public methodAwaitTermination
Block current thread until the system has been shutdown. This will block until after all on termination callbacks have been run.
Public methodAwaitTermination(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.

Public methodAwaitTermination(TimeSpan, CancellationToken)
Block current thread until the system has been shutdown, or the specified timeout has elapsed, or the cancellationToken was canceled. 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, or the cancellationToken was canceled.

Top
See Also