Skip to content

)} )}

ImmediateScheduler.Schedule(TState, Func) method

Defined in

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

Applies to

net8.0, net8.0-windows10.0.19041, netstandard2.0

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