Skip to content

)} )} )}

IScheduler.Schedule(TState, Func) method

Defined in

Type: IScheduler 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. IDisposable Schedule<TState>(TState state, Func<IScheduler, TState, IDisposable> action)
  • 2. IDisposable Schedule<TState>(TState state, TimeSpan dueTime, Func<IScheduler, TState, IDisposable> action)
  • 3. IDisposable Schedule<TState>(TState state, DateTimeOffset dueTime, Func<IScheduler, TState, IDisposable> action)

1. Overload

IDisposable Schedule<TState>(TState state, Func<IScheduler, TState, IDisposable> action)

Type parameters

NameDescription
TState--

Parameters

NameTypeDescription
stateTState--
actionFunc--

Returns: IDisposable

2. Overload

IDisposable Schedule<TState>(TState state, TimeSpan dueTime, Func<IScheduler, TState, IDisposable> action)

Type parameters

NameDescription
TState--

Parameters

NameTypeDescription
stateTState--
dueTimeTimeSpan--
actionFunc--

Returns: IDisposable

3. Overload

IDisposable Schedule<TState>(TState state, DateTimeOffset dueTime, Func<IScheduler, TState, IDisposable> action)

Type parameters

NameDescription
TState--

Parameters

NameTypeDescription
stateTState--
dueTimeDateTimeOffset--
actionFunc--

Returns: IDisposable