Skip to content

LexRiver/queue-handler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

queue-handler

to install

git clone https://github.com/LexRiver/queue-handler.git
cd queue-handler
npm install

to run

npm run start

First we add 3 functions.

Then we start listening for user input.

At the same time we start 2 timers to add 2 more functions.

On first user input we execute first function with first user input as parameter for this function. Then we remove 1st function and 1st parameter from queue.

On second user input we execute second function with second user parameters and so on.

If no more functions then we quit.

see ./src/index.ts to start.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published