Skip to content

)} )}

Scheduler.SchedulePeriodic(IScheduler, TState, TimeSpan, Func) method

Defined in

Type: Scheduler Namespace: System.Reactive.Concurrency Assembly: System.Reactive.dll

Applies to

net8.0, net8.0-windows10.0.19041, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.0

Overloads

  • 1. public static IDisposable SchedulePeriodic<TState>(this IScheduler scheduler, TState state, TimeSpan period, Func<TState, TState> action)
  • 2. public static IDisposable SchedulePeriodic<TState>(this IScheduler scheduler, TState state, TimeSpan period, Action<TState> action)
  • 3. public static IDisposable SchedulePeriodic(this IScheduler scheduler, TimeSpan period, Action action)

1. Overload

public static IDisposable SchedulePeriodic<TState>(this IScheduler scheduler, TState state, TimeSpan period, Func<TState, TState> action)

Type parameters

NameDescription
TState--

Parameters

NameTypeDescription
scheduler[IScheduler](#--
stateTState--
periodTimeSpan--
actionFunc--

Returns: IDisposable

2. Overload

public static IDisposable SchedulePeriodic<TState>(this IScheduler scheduler, TState state, TimeSpan period, Action<TState> action)

Type parameters

NameDescription
TState--

Parameters

NameTypeDescription
scheduler[IScheduler](#--
stateTState--
periodTimeSpan--
actionAction--

Returns: IDisposable

3. Overload

public static IDisposable SchedulePeriodic(this IScheduler scheduler, TimeSpan period, Action action)

Parameters

NameTypeDescription
scheduler[IScheduler](#--
periodTimeSpan--
actionAction--

Returns: IDisposable