# await-state

> await a desired redux state

Latest version **1.0.1** (published 2019-11-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install await-state
pnpm add await-state
yarn add await-state
bun add await-state
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2019-11-21 |
| First published | 2019-11-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | jprichardson, tenaciousmv |

## Links

- npm: https://www.npmjs.com/package/await-state
- npm.io page: https://npm.io/package/await-state

## Recent versions

- 1.0.1 (latest) — 2019-11-21
- 1.0.0 — 2019-11-20

## README

# await-state

await a desired redux state

## Usage

```js
import awaitState from 'await-state'

// resolves immediately if the condition is already true
// or later, whenever it becomes true
await awaitState(store, booleanReturningSelector) // e.g. (state) => state.matrix.isLoaded

// the condition booleanReturningSelector is true!
```

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