# start-concurrent

> Concurrent tasks runner for Start

Latest version **0.1.0** (published 2017-01-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install start-concurrent
pnpm add start-concurrent
yarn add start-concurrent
bun add start-concurrent
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2017-01-01 |
| First published | 2017-01-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Kir Belevich |
| Maintainers | deepsweet |
| Keywords | start, start-task, concurrent |

## Links

- npm: https://www.npmjs.com/package/start-concurrent
- Repository: https://github.com/start-runner/concurrent
- Issues: https://github.com/start-runner/concurrent/issues
- npm.io page: https://npm.io/package/start-concurrent

## Dependencies (1)

- [start](https://npm.io/package/start.md) ^5.1.0

## Alternatives

- [lodash.startswith](https://npm.io/package/lodash.startswith.md) — 769.7K weekly downloads
- [@tarojs/service](https://npm.io/package/@tarojs/service.md) — 33.9K weekly downloads
- [io.extendreality.tilia.indicators.spatialtargets.unity](https://npm.io/package/io.extendreality.tilia.indicators.spatialtargets.unity.md) — 131 weekly downloads
- [@rtarojs/taro](https://npm.io/package/@rtarojs/taro.md) — 90 weekly downloads
- [node-branch-io](https://npm.io/package/node-branch-io.md) — 50 weekly downloads

## Recent versions

- 0.1.0 (latest) — 2017-01-01

## README

# start-concurrent

[![npm](https://img.shields.io/npm/v/start-concurrent.svg?style=flat-square)](https://www.npmjs.com/package/start-concurrent)
[![linux build](https://img.shields.io/travis/start-runner/concurrent/master.svg?label=linux&style=flat-square)](https://travis-ci.org/start-runner/concurrent)
[![windows build](https://img.shields.io/appveyor/ci/start-runner/concurrent/master.svg?label=windows&style=flat-square)](https://ci.appveyor.com/project/start-runner/concurrent)
[![coverage](https://img.shields.io/codecov/c/github/start-runner/concurrent/master.svg?style=flat-square)](https://codecov.io/github/start-runner/concurrent)
[![deps](https://img.shields.io/gemnasium/start-runner/concurrent.svg?style=flat-square)](https://gemnasium.com/start-runner/concurrent)

Concurrent tasks runner for [Start](https://github.com/start-runner/start).

## Install

```sh
npm install --save-dev start-concurrent
# or
yarn add --dev start-concurrent
```

## Usage

```js
import Start from 'start';
import reporter from 'start-pretty-reporter';
import concurrent from 'start-concurrent';

const start = Start(reporter());

const task1 = () => {
  return function task1() {
    return new Promise((resolve) => {
      setTimeout(() => {
        resolve();
      }, 200);
    });
  };
};

const task2 = () => {
  return function task2() {
    return new Promise((resolve) => {
      setTimeout(() => {
        resolve();
      }, 100);
    });
  };
};

export const task12 = () => start(
  concurrent(
    task1,
    task2
  )
);
```

```
→ concurrent: start

→ task1: start

→ task2: start
→ task2: done

→ task1: done

→ concurrent: done
```

See [documentation](https://github.com/start-runner/start#readme) for details.

---
_Source: https://npm.io/package/start-concurrent · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
