SequencerExtensions.Schedule(ISequencer, TState, Func) method¶
Defined in
Type: SequencerExtensions
Namespace: ReactiveUI.Primitives.Concurrency
Assembly: ReactiveUI.Primitives.dll
Applies to
net10.0, net10.0-android36.0, net10.0-ios26.0, net10.0-macos26.0, net10.0-tvos26.0, net10.0-maccatalyst26.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-desktop1.0, net9.0-browserwasm1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net481, net471, net462
Overloads¶
- 1.
public static IDisposable Schedule<TState>(this ISequencer scheduler, TState state, Func<ISequencer, TState, IDisposable> action) where TState : notnull - 2.
public static IDisposable Schedule<TState>(this ISequencer scheduler, TState state, Action<TState> action) where TState : notnull - 3.
public static IDisposable Schedule<TState>(this ISequencer scheduler, TState state, TimeSpan dueTime, Func<ISequencer, TState, IDisposable> action) where TState : notnull - 4.
public static IDisposable Schedule<TState>(this ISequencer scheduler, TState state, TimeSpan dueTime, Action<TState> action) where TState : notnull - 5.
public static IDisposable Schedule<TState>(this ISequencer scheduler, TState state, long dueTimestamp, Action<TState> action) where TState : notnull - 6.
public static IDisposable Schedule<TState>(this ISequencer scheduler, TState state, DateTimeOffset dueTime, Func<ISequencer, TState, IDisposable> action) where TState : notnull - 7.
public static IDisposable Schedule(this ISequencer scheduler, Action action) - 8.
public static IDisposable Schedule(this ISequencer scheduler, TimeSpan dueTime, Action action) - 9.
public static IDisposable Schedule(this ISequencer scheduler, DateTimeOffset dueTime, Action action) - 10.
public static IDisposable Schedule(this ISequencer scheduler, Action<Action> action)
1. Overload¶
public static IDisposable Schedule<TState>(this ISequencer scheduler, TState state, Func<ISequencer, TState, IDisposable> action) where TState : notnull
Type parameters
| Name | Description |
|---|---|
TState | -- |
Parameters
| Name | Type | Description |
|---|---|---|
scheduler | [ISequencer](# | -- |
state | TState | -- |
action | Func | -- |
Returns: IDisposable
2. Overload¶
public static IDisposable Schedule<TState>(this ISequencer scheduler, TState state, Action<TState> action) where TState : notnull
Type parameters
| Name | Description |
|---|---|
TState | -- |
Parameters
| Name | Type | Description |
|---|---|---|
scheduler | [ISequencer](# | -- |
state | TState | -- |
action | Action | -- |
Returns: IDisposable
3. Overload¶
public static IDisposable Schedule<TState>(this ISequencer scheduler, TState state, TimeSpan dueTime, Func<ISequencer, TState, IDisposable> action) where TState : notnull
Type parameters
| Name | Description |
|---|---|
TState | -- |
Parameters
| Name | Type | Description |
|---|---|---|
scheduler | [ISequencer](# | -- |
state | TState | -- |
dueTime | TimeSpan | -- |
action | Func | -- |
Returns: IDisposable
4. Overload¶
public static IDisposable Schedule<TState>(this ISequencer scheduler, TState state, TimeSpan dueTime, Action<TState> action) where TState : notnull
Type parameters
| Name | Description |
|---|---|
TState | -- |
Parameters
| Name | Type | Description |
|---|---|---|
scheduler | [ISequencer](# | -- |
state | TState | -- |
dueTime | TimeSpan | -- |
action | Action | -- |
Returns: IDisposable
5. Overload¶
public static IDisposable Schedule<TState>(this ISequencer scheduler, TState state, long dueTimestamp, Action<TState> action) where TState : notnull
Type parameters
| Name | Description |
|---|---|
TState | -- |
Parameters
| Name | Type | Description |
|---|---|---|
scheduler | [ISequencer](# | -- |
state | TState | -- |
dueTimestamp | long | -- |
action | Action | -- |
Returns: IDisposable
6. Overload¶
public static IDisposable Schedule<TState>(this ISequencer scheduler, TState state, DateTimeOffset dueTime, Func<ISequencer, TState, IDisposable> action) where TState : notnull
Type parameters
| Name | Description |
|---|---|
TState | -- |
Parameters
| Name | Type | Description |
|---|---|---|
scheduler | [ISequencer](# | -- |
state | TState | -- |
dueTime | DateTimeOffset | -- |
action | Func | -- |
Returns: IDisposable
7. Overload¶
public static IDisposable Schedule(this ISequencer scheduler, Action action)
Parameters
| Name | Type | Description |
|---|---|---|
scheduler | [ISequencer](# | -- |
action | Action | -- |
Returns: IDisposable
8. Overload¶
public static IDisposable Schedule(this ISequencer scheduler, TimeSpan dueTime, Action action)
Parameters
| Name | Type | Description |
|---|---|---|
scheduler | [ISequencer](# | -- |
dueTime | TimeSpan | -- |
action | Action | -- |
Returns: IDisposable
9. Overload¶
public static IDisposable Schedule(this ISequencer scheduler, DateTimeOffset dueTime, Action action)
Parameters
| Name | Type | Description |
|---|---|---|
scheduler | [ISequencer](# | -- |
dueTime | DateTimeOffset | -- |
action | Action | -- |
Returns: IDisposable
10. Overload¶
public static IDisposable Schedule(this ISequencer scheduler, Action<Action> action)
Parameters
| Name | Type | Description |
|---|---|---|
scheduler | [ISequencer](# | -- |
action | Action | -- |
Returns: IDisposable