# Module: pRace

## Table of contents

### Promises Functions

- [default](pRace.md#default)

## Promises Functions

### default

▸ **default**(`...promises`): `Promise`<`any`\>

Given a set of promises, resolves with the first value to resolve or reject

#### Parameters

| Name | Type |
| :------ | :------ |
| `...promises` | `Promise`<`any`\>[] |

#### Returns

`Promise`<`any`\>

#### Defined in

[src/pRace.js:10](https://github.com/Twipped/js-utils/blob/9c196e3/src/pRace.js#L10)
