WaitForDispatcherScheduler.Schedule(TState, Func) method¶
Defined in
Type: WaitForDispatcherScheduler
Namespace: ReactiveUI.Reactive
Assembly: ReactiveUI.Reactive.dll
Applies to
net10.0, net10.0-ios26.0, net10.0-android36.0, net10.0-maccatalyst26.0, net10.0-macos26.0, net10.0-tvos26.0, net9.0, net8.0, net462, net481
Overloads¶
-
public IDisposable Schedule<TState>(TState state, Func<IScheduler, TState, IDisposable> action) -
public IDisposable Schedule<TState>(TState state, TimeSpan dueTime, Func<IScheduler, TState, IDisposable> action) -
public IDisposable Schedule<TState>(TState state, DateTimeOffset dueTime, Func<IScheduler, TState, IDisposable> action)
1. Overload¶
public IDisposable Schedule<TState>(TState state, Func<IScheduler, TState, IDisposable> action)
Inherited documentation
These docs were inherited from IScheduler. The member doesn't override them on this type.
Type parameters
| Name | Description |
|---|---|
TState | -- |
Parameters
| Name | Type | Description |
|---|---|---|
state | TState | -- |
action | Func | -- |
Returns: IDisposable
2. Overload¶
public IDisposable Schedule<TState>(TState state, TimeSpan dueTime, Func<IScheduler, TState, IDisposable> action)
Inherited documentation
These docs were inherited from IScheduler. The member doesn't override them on this type.
Type parameters
| Name | Description |
|---|---|
TState | -- |
Parameters
| Name | Type | Description |
|---|---|---|
state | TState | -- |
dueTime | TimeSpan | -- |
action | Func | -- |
Returns: IDisposable
3. Overload¶
public IDisposable Schedule<TState>(TState state, DateTimeOffset dueTime, Func<IScheduler, TState, IDisposable> action)
Inherited documentation
These docs were inherited from IScheduler. The member doesn't override them on this type.
Type parameters
| Name | Description |
|---|---|
TState | -- |
Parameters
| Name | Type | Description |
|---|---|---|
state | TState | -- |
dueTime | DateTimeOffset | -- |
action | Func | -- |
Returns: IDisposable