FuncExtensions.Debounce Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Debounce(Func<Task>, Int32) | |
Debounce<T>(Func<T,Task>, Int32) |
Debounce(Func<Task>, Int32)
public static Func<System.Threading.Tasks.Task> Debounce (this Func<System.Threading.Tasks.Task> targetAction, int milliseconds = 300);
static member Debounce : Func<System.Threading.Tasks.Task> * int -> Func<System.Threading.Tasks.Task>
<Extension()>
Public Function Debounce (targetAction As Func(Of Task), Optional milliseconds As Integer = 300) As Func(Of Task)
Parameters
- milliseconds
- Int32
Returns
Applies to
Debounce<T>(Func<T,Task>, Int32)
public static Func<T,System.Threading.Tasks.Task> Debounce<T> (this Func<T,System.Threading.Tasks.Task> func, int milliseconds = 300);
static member Debounce : Func<'T, System.Threading.Tasks.Task> * int -> Func<'T, System.Threading.Tasks.Task>
<Extension()>
Public Function Debounce(Of T) (func As Func(Of T, Task), Optional milliseconds As Integer = 300) As Func(Of T, Task)
Type Parameters
- T
Parameters
- milliseconds
- Int32
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET