Skip to content

octo-utils/promise-chain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@octo-utils/promise-chain

execute promise returned functions one by one.

difference between Promise.all, this funtion accepts promise returned functions and create promises one after and another.

Usage

import promiseChain from "@octo-utils/promise-chain"

promiseChain([
    async _ => { console.log("step1"); },
    async _ => { console.log("step2"); },
    async _ => { console.log("step3"); }
])

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages