Skip to content

)} )}

DefaultScheduler.Schedule(TState, Func) method

Defined in

Type: DefaultScheduler 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 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