// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ namespace Microsoft.Graph { using System; using System.Threading; using System.Threading.Tasks; /// /// Monitor for async operations to the Graph service on the client. /// /// The object type to return. public interface IAsyncMonitor { /// /// Poll to check for completion of an async call to the Graph service. /// /// The progress status. /// The cancellation token. /// The operation task. Task PollForOperationCompletionAsync(IProgress progress, CancellationToken cancellationToken); } }