// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.VisualStudio.Threading
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
///
/// An asynchronous event handler.
///
/// The sender of the event.
/// Event arguments.
/// A task whose completion signals handling is finished.
public delegate Task AsyncEventHandler(object? sender, EventArgs args);
///
/// An asynchronous event handler.
///
/// The type of event arguments.
/// The sender of the event.
/// Event arguments.
/// A task whose completion signals handling is finished.
public delegate Task AsyncEventHandler(object? sender, TEventArgs args);
}