diff options
Diffstat (limited to 'Rx.NET/System.Reactive.Interfaces/Reactive/Concurrency/ISchedulerPeriodic.cs')
-rw-r--r-- | Rx.NET/System.Reactive.Interfaces/Reactive/Concurrency/ISchedulerPeriodic.cs | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/Rx.NET/System.Reactive.Interfaces/Reactive/Concurrency/ISchedulerPeriodic.cs b/Rx.NET/System.Reactive.Interfaces/Reactive/Concurrency/ISchedulerPeriodic.cs deleted file mode 100644 index 825a748..0000000 --- a/Rx.NET/System.Reactive.Interfaces/Reactive/Concurrency/ISchedulerPeriodic.cs +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. - -using System.Reactive.Disposables; - -namespace System.Reactive.Concurrency -{ - /// <summary> - /// Scheduler with support for running periodic tasks. - /// This type of scheduler can be used to run timers more efficiently instead of using recursive scheduling. - /// </summary> - public interface ISchedulerPeriodic - { - /// <summary> - /// Schedules a periodic piece of work. - /// </summary> - /// <typeparam name="TState">The type of the state passed to the scheduled action.</typeparam> - /// <param name="state">Initial state passed to the action upon the first iteration.</param> - /// <param name="period">Period for running the work periodically.</param> - /// <param name="action">Action to be executed, potentially updating the state.</param> - /// <returns>The disposable object used to cancel the scheduled recurring action (best effort).</returns> - IDisposable SchedulePeriodic<TState>(TState state, TimeSpan period, Func<TState, TState> action); - } -} |