Methods
(inner) delay(fn, ms) → {function}
Executes a function after a given time
Parameters:
| Name | Type | Description |
|---|---|---|
fn |
function | function to execute |
ms |
number | delay time in milliseconds |
- Source:
- See:
Returns:
returns the throttled wrapper function
- Type
- function