| Method | Purpose |
|---|---|
time(fn) |
Measures execution time (async supported) |
timeLimit(fn, timeout) |
Throws if execution exceeds timeout |
delayFn(fn, delay) |
Delays execution by specified ms |
delayResult(fn, ms) |
Returns result after delay |
delayEach(fn, delayMs) |
Sequentially calls function on multiple args with delay |
delayIf(fn, condition, delayMs) |
Delays execution if condition is true |
afterIdle(fn, timeout) |
Executes when browser is idle |
smartIdle(fn, {timeout}) |
Idle execution with cancellation support |