skills/smithery.ai/asyncredux-throttle-mixin

asyncredux-throttle-mixin

Installation
SKILL.md

Throttle Mixin

The Throttle mixin limits action execution to at most once per throttle period. When an action is dispatched multiple times within the defined window, only the first execution runs while subsequent calls abort silently. After the period expires, the next dispatch is permitted.

Basic Usage

class LoadPrices extends AppAction with Throttle {

  // Throttle period in milliseconds (default is 1000ms)
  int get throttle => 5000; // 5 seconds

  Future<AppState?> reduce() async {
    var prices = await fetchCurrentPrices();
    return state.copy(prices: prices);
  }
}
Installs
1
First Seen
Mar 26, 2026
asyncredux-throttle-mixin from smithery.ai