| 1 |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. |
| 2 |
|
| 3 |
namespace System.Reactive.Concurrency |
| 4 |
{ |
| 5 |
/// <summary> |
| 6 |
/// Represents a work item that has been scheduled. |
| 7 |
/// </summary> |
| 8 |
/// <typeparam name="TAbsolute">Absolute time representation type.</typeparam> |
| 9 |
public interface IScheduledItem<TAbsolute> |
| 10 |
{ |
| 11 |
/// <summary> |
| 12 |
/// Gets the absolute time at which the item is due for invocation. |
| 13 |
/// </summary> |
| 14 |
TAbsolute DueTime { get; } |
| 15 |
|
| 16 |
/// <summary> |
| 17 |
/// Invokes the work item. |
| 18 |
/// </summary> |
| 19 |
void Invoke(); |
| 20 |
} |
| 21 |
} |