Async Function Call: Call chained functions asynchronously

Recommend this page to a friend!
  Info   View files Example   Demos   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 147 All time: 338 This week: 3Up
Version License JavaScript version Categories
async-function-call 1.0.1MIT/X Consortium ...5Language, Utilities and Tools
Description Author

This package can call chained functions asynchronously.

It adds a prototype for the function object so that a function can be called asynchronously.

Function calls may be chained, so when an asynchronous function succeeds or a given timeout period passed, it calls another asynchronous function call.

Innovation Award
JavaScript Programming Innovation award winner
July 2016
Winner
Sometimes it is necessary to call a sequence of functions but when these functions need to execute operations asynchronously you need to find a workaround so you the next functions is execute only after the last function asynchronous operations is finished.

This package implements a workaround by addong a new prototype to the function object, so you can chain the calls to multiple functions.

This ways when one asynchronous function succeeds or a given timeout period passed, it calls the next asynchronous function call.

Manuel Lemos
Picture of Andras Toth
  Performance   Level  
Name: Andras Toth <contact>
Classes: 22 packages by
Country: Hungary Hungary
Age: 49
All time rank: 31 in Hungary Hungary
Week rank: 1 Up
Innovation award
Innovation award
Nominee: 15x

Winner: 9x

Details

Javascript Async Function Call

Function prototype to call function in async mode.

Chainable async function call - success, error callbacks - configurable timeout

  • [Homepage] - Home page, demonstration

License

MIT

Author: Tóth András

http://atandrastoth.co.uk/

2015-06-10

[Homepage]:http://atandrastoth.co.uk/

  Files folder image Files  
File Role Description
Plain text file asyncFunctionCall.js Class Class source
Accessible without login Plain text file index.html Example Example
Accessible without login Plain text file README.md Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 100%
Total:147
This week:0
All time:338
This week:3Up