Skip to content

Applies to

netstandard2.0, netstandard2.0, netstandard2.0, netstandard2.0, netstandard2.0

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

View source

Inherited documentation

These docs were inherited from LocalScheduler. The member doesn't override them on this type.

Summary: Schedules an action to be executed after dueTime.

Type parameters

NameDescription
TStateThe type of the state passed to the scheduled action.

Parameters

NameTypeDescription
stateTStateState passed to the action to be executed.
dueTimeTimeSpanRelative time after which to execute the action.
actionFuncAction to be executed.

Returns: IDisposable -- The disposable object used to cancel the scheduled action (best effort).