Skip to content

Commit

Permalink
fixed GracefulStop DocFx warnings (#6393)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronontheweb authored Feb 9, 2023
1 parent ba142bc commit 06b1d29
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/Akka/Actor/GracefulStopSupport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public static class GracefulStopSupport
/// </summary>
/// <param name="target">The actor to be terminated.</param>
/// <param name="timeout">The amount of time we're going to wait for the actor to terminate.</param>
/// <returns>A <see cref="Task"/> that will return <c>true</c> if the <see cref="target"/> shuts down within <see cref="timeout"/></returns>
/// <returns>A <see cref="Task"/> that will return <c>true</c> if the target shuts down within timeout.</returns>
public static Task<bool> GracefulStop(this IActorRef target, TimeSpan timeout)
{
return GracefulStop(target, timeout, PoisonPill.Instance);
Expand All @@ -67,11 +67,11 @@ public static Task<bool> GracefulStop(this IActorRef target, TimeSpan timeout)
/// </summary>
/// <param name="target">The actor to be terminated.</param>
/// <param name="timeout">The amount of time we're going to wait for the actor to terminate.</param>
/// <param name="stopMessage">A custom message to use to shutdown <see cref="target"/> - by default the other overload uses <see cref="PoisonPill"/>.</param>
/// <param name="stopMessage">A custom message to use to shutdown target - by default the other overload uses <see cref="PoisonPill"/>.</param>
/// <exception cref="TaskCanceledException">
/// This exception is thrown if the underlying task is <see cref="TaskStatus.Canceled"/>.
/// </exception>
/// <returns>A <see cref="Task"/> that will return <c>true</c> if the <see cref="target"/> shuts down within <see cref="timeout"/></returns>
/// <returns>A <see cref="Task"/> that will return <c>true</c> if the target shuts down within timeout</returns>
public static async Task<bool> GracefulStop(this IActorRef target, TimeSpan timeout, object stopMessage)
{
if (target is not IInternalActorRef internalTarget)
Expand Down

0 comments on commit 06b1d29

Please sign in to comment.