async-fp

Utility library for asynchronous functional programming

Usage no npm install needed!

<script type="module">
  import asyncFp from 'https://cdn.skypack.dev/async-fp';
</script>

README

async-fp

NPM version NPM downloads Bundle size

Codecov Codacy Grade Badge Codacy Coverage Badge

Collection of utilities for asynchronous functional programming.

Installation

npm install async-fp
# or
yarn add async-fp

AsyncContext

import { AsyncContext } from 'async-fp'

const context = new AsyncContext(async () => ({ config: 'async value' }))

await context.get() // => { config: 'async value' }

From: @unional/async-context