asyncredux-debounce-mixin

Debounce user input events to delay actions until typing pauses.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/pro100andrey/dar --skill asyncredux-debounce-mixin-pro100andrey
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: asyncredux-debounce-mixin
Source: https://github.com/pro100andrey/dar/tree/main/.claude/skills/asyncredux-debounce-mixin
Command: npx skills add https://github.com/pro100andrey/dar --skill asyncredux-debounce-mixin-pro100andrey

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Debounce mixin delays action execution until after a period of inactivity. Each new dispatch resets the timer, so the action only runs once typing stops for the specified duration. This is ideal for search-as-you-type functionality and avoiding excessive API calls during rapid user input.

Core Features & Use Cases

  • Configurable debounce duration to tune responsiveness.
  • Automatic coalescing of rapid dispatches into a single action.
  • Per-instance locking via lockBuilder for independent debounce timers.
  • Compatibility with CheckInternet, NoDialog, Fresh, and Throttle; incompatible with Retry and some optimistic or server-push mixins.
  • Use Case: attach to search fields or other input-driven actions to minimize server load while preserving responsiveness.

Quick Start

Mix Debounce into your AppAction to start debouncing user input and optionally override the debounce duration and lockBuilder for per-field timers.

Frequently Asked Questions about asyncredux-debounce-mixin

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reduce API calls during search-as-you-type in Flutter?

You can delay action execution using a debounce mixin that waits for typing pauses before dispatching, reducing API calls. Each new dispatch resets the timer so the action only runs once inactivity stops for the specified duration.

What is the best way to configure debounce duration for async Redux actions?

Configuring debounce duration involves overriding the debounce getter in your AppAction to tune responsiveness. This allows you to set the exact inactivity period required before the action executes, balancing server load with user experience.

Can I use debounce with Throttle or CheckInternet mixins in async_redux?

Debounce is compatible with CheckInternet, NoDialog, Fresh, and Throttle mixins for concurrent use. It is incompatible with Retry and some optimistic or server-push mixins due to conflicting execution logic.

How do I set up independent debounce timers for multiple input fields?

Override the lockBuilder to enable per-instance locking, ensuring each input field maintains an independent debounce timer. This prevents dispatches from one field from resetting the timer of another.

Why does my debounce mixin not work with Retry actions in async_redux?

Debounce is incompatible with Retry because retry logic requires immediate re-execution on failure, while debounce delays execution until inactivity. This conflict prevents them from functioning together correctly.