Skip to main content

Interface IDebouncer

Provides a thread-safe mechanism to debounce actions, ensuring that a rapid succession of calls only triggers the action after a specified delay has elapsed since the last call.

Assembly: Dalamud.dll
Declaration
public interface IDebouncer : IDisposable

Properties

IsPending

Gets a value indicating whether the action is queued to be executed.

Declaration
bool IsPending { get; }

Methods

Debounce()

Requests the execution of the action.

Declaration
void Debounce()

Cancel()

Cancels the pending execution of the action.

Declaration
void Cancel()