Skip to content

Commit b259281

Browse files
author
Andrey Dobrikov
committed
Made TaskExtension internal.
1 parent c7feead commit b259281

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

SDK/Runtime/Utils/TaskExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ namespace Privy.Utils
66
/// <summary>
77
/// Common helpers for safely firing and forgetting asynchronous tasks.
88
/// </summary>
9-
public static class TaskExtensions
9+
internal static class TaskExtensions
1010
{
1111
/// <summary>
1212
/// Executes a task without awaiting it. Any exception thrown by the task
1313
/// will be caught and optionally passed to <paramref name="onException"/>.
1414
/// </summary>
1515
/// <param name="task">The task to execute.</param>
1616
/// <param name="onException">Optional callback invoked if the task faults.</param>
17-
public static async void SafeFireAndForget(this Task task, Action<Exception> onException = null)
17+
internal static async void SafeFireAndForget(this Task task, Action<Exception> onException = null)
1818
{
1919
try
2020
{

0 commit comments

Comments
 (0)