AvaloniaSchedulerScheduleTState(TState, TimeSpan, FuncIScheduler, TState, IDisposable) Method
Schedules an action to be executed after dueTime.
Namespace: Avalonia.ReactiveUIAssembly: Avalonia.ReactiveUI (in Avalonia.ReactiveUI.dll) Version: 11.3.999
public override IDisposable Schedule<TState>(
TState state,
TimeSpan dueTime,
Func<IScheduler, TState, IDisposable> action
)
Public Overrides Function Schedule(Of TState) (
state As TState,
dueTime As TimeSpan,
action As Func(Of IScheduler, TState, IDisposable)
) As IDisposable
abstract Schedule :
state : 'TState *
dueTime : TimeSpan *
action : Func<IScheduler, 'TState, IDisposable> -> IDisposable
override Schedule :
state : 'TState *
dueTime : TimeSpan *
action : Func<IScheduler, 'TState, IDisposable> -> IDisposable
- state TState
- State passed to the action to be executed.
- dueTime TimeSpan
- Relative time after which to execute the action.
- action FuncIScheduler, TState, IDisposable
- Action to be executed.
- TState
- The type of the state passed to the scheduled action.
IDisposableThe disposable object used to cancel the scheduled action (best effort).
IScheduler.Schedule``1(UMP, TimeSpan, FuncIScheduler, UMP, IDisposable)