 | Throttle(TimeSpan, Action) Constructor |
Initializes a new instance of the
Throttle class.
Namespace: TomsToolbox.WpfAssembly: TomsToolbox.Wpf (in TomsToolbox.Wpf.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntaxpublic Throttle(
TimeSpan timeout,
Action target
)
Public Sub New (
timeout As TimeSpan,
target As Action
)
Parameters
- timeout TimeSpan
- The timeout to wait for after the last Tick.
- target Action
- The target action to invoke when the throttle condition is hit.
See Also