# Module: defer

## Table of contents

### Timers Functions

- [default](defer.md#default)

## Timers Functions

### default

▸ **default**(`fn`): `Function`

Executes the given function on next animation frame.

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `fn` | `Function` | Function to invoke |

#### Returns

`Function`

Returns a disposer for the timer.

#### Defined in

[src/defer.js:11](https://github.com/Twipped/js-utils/blob/9c196e3/src/defer.js#L11)
