[]
Represents a deferred action to perform a single action instead of a sequence of actions called within a specified delay.
public class LazyAction
| Name | Description |
|---|---|
| LazyAction() | Initializes a new instance of LazyAction using the default delay of one second. |
| LazyAction(TimeSpan) | Initializes a new instance of LazyAction with the specified delay. |
| Name | Description |
|---|---|
| Execute(Action) | Schedules the specified synchronous action to execute after the configured delay, cancelling any previously pending execution. |
| Execute(Func<Task>) | Schedules the specified asynchronous action to execute after the configured delay, cancelling any previously pending execution. |