1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
5 /*============================================================
7 ** Interface: IAsyncResult
9 ** Purpose: Interface to encapsulate the results of an async
12 ===========================================================*/
14 using System
.Threading
;
18 public interface IAsyncResult
20 bool IsCompleted { get; }
22 WaitHandle AsyncWaitHandle { get; }
25 object? AsyncState { get; }
27 bool CompletedSynchronously { get; }