# utils/abortabledebounce

module

<a id="interfaces">

## Interfaces

<a id="interface-AbortableFunc">

### `AbortableFunc`

<a id="functions">

## Functions

<a id="function-abortableDebounce">

### `abortableDebounce( func ) → AbortableFunc<Args, Ret>`

Returns a function wrapper that will execute the provided function and abort any previous call that is still in progress.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-utils/src/abortabledebounce.ts#L15)

#### Type parameters

* * `Args: extends Array<any>`
  * `Ret`

#### Parameters

* `func: ( signal: AbortSignal, args: Args ) => Ret`

  The function to be called. It will be provided with `AbortSignal` as the first parameter.

#### Returns

* `AbortableFunc<Args, Ret>`

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
