Skip to content

endrcn/semi-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Semi-Sync

NPM version

Semi-Sync allows you to semi-synchronous requests. There are two ways you can send links that you want to request. You can send links in the array or file.

Example Code

var semiSync = require("semi-sync");

semiSync.requestLinksFromArray(linksArray, requestLimitInSameTime, function(err, results){
	if(err) console.log(err);
	//...
});

semiSync.requestLinksFromFile(linksFilePath, requestLimitInSameTime, function(err, results){
	if(err) console.log(err);
	//...
});

There are two functions in semi-sync module.

Download

The source is available for download from GitHub. Alternatively you can install using npm:

npm install --save semi-sync

About

According to the limit you define sends semi-synchronous requests.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published