Module

utils/abortabledebounce

@ckeditor/ckeditor5-utils/src/abortabledebounce

module

Filtering

Interfaces

Functions

  • 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.

    Type parameters

    Args : extends Array<any>
    Ret

    Parameters

    func : ( AbortSignal, Args ) => Ret

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

    Returns

    AbortableFunc<Args, Ret>