Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

22 lines
674 B
C#

// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace System.Reactive.Concurrency
{
/// <summary>
/// Represents a work item that has been scheduled.
/// </summary>
/// <typeparam name="TAbsolute">Absolute time representation type.</typeparam>
public interface IScheduledItem<TAbsolute>
{
/// <summary>
/// Gets the absolute time at which the item is due for invocation.
/// </summary>
TAbsolute DueTime { get; }
/// <summary>
/// Invokes the work item.
/// </summary>
void Invoke();
}
}