one-at-a-time

1.0.0 • Public • Published

one-at-a-time

let async functions run one at a time

one(fn)

Given a function that takes a callback, return a version that only permits one callbacker to run at a time

Parameters

parameter type description
fn Function input

Returns Function, one-at-a-time limited version

Installation

Requires nodejs.

$ npm install one-at-a-time

Tests

$ npm test

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i one-at-a-time

    Weekly Downloads

    0

    Version

    1.0.0

    License

    ISC

    Last publish

    Collaborators

    • tmcw