Partager via


FuncExtensions.Debounce Méthode

Définition

Surcharges

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)

Paramètres

targetAction
Func<Task>
milliseconds
Int32

Retours

S’applique à

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)

Paramètres de type

T

Paramètres

func
Func<T,Task>
milliseconds
Int32

Retours

Func<T,Task>

S’applique à