Sun calculation js library which is fully based on formula from http://aa.quae.nl/en/reken/zonpositie.html
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Orion Stark
a7e10d6796
|
7 years ago | |
---|---|---|
.. | ||
.npmignore | 7 years ago | |
README.md | 7 years ago | |
index.js | 7 years ago | |
package.json | 7 years ago | |
test.js | 7 years ago |
README.md
function-loop
Run a list of functions in order in a given object context. The functions can be callback-taking or promise-returning.
This module is zalgo-exposing, meaning that synchronous calls to the cb functions will result in a sync call to the supplied cb, and async calls will result in the cb being called asynchronously. It does not artificially defer if callbacks are called synchronously.
API
loop(context, functionList, doneCallback, errorCallback)
Run all the functions in the context of the context
object, and then
call the doneCallback
or call the errorCallback
if there are any
errors.