Creates a wrapped function that only executes the provided function after the initial call has completed. The wrapped function can be cleared to allow subsequent calls to execute the provided function again.
The type of the promise resolved by the provided function.
The type of the arguments passed to the provided function.
The function to be wrapped.
Rest
The wrapped function.
Creates a wrapped function that only executes the provided function after the initial call has completed. The wrapped function can be cleared to allow subsequent calls to execute the provided function again.