Skip to content

)} )}

ControlScheduler.Schedule(TState, Func) method

Defined in

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

Applies to

net8.0-windows10.0.19041, net462, net481

Overloads

  • 1. public override IDisposable Schedule<TState>(TState state, Func<IScheduler, TState, IDisposable> action)
  • 2. public override IDisposable Schedule<TState>(TState state, TimeSpan dueTime, Func<IScheduler, TState, IDisposable> action)

1. Overload

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

Type parameters

NameDescription
TState--

Parameters

NameTypeDescription
stateTState--
actionFunc--

Returns: IDisposable

2. Overload

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

Type parameters

NameDescription
TState--

Parameters

NameTypeDescription
stateTState--
dueTimeTimeSpan--
actionFunc--

Returns: IDisposable