anothersequencer
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "anothersequencer", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Simple script tree sequencer in javascript. Allows creating fairly complex trees of sync/async functions or requestAnimationFrame functions with optional delays, as well as subscribing to particular outputs in the tree at any time.", | ||
@@ -5,0 +5,0 @@ "main": "sequencer.js", |
@@ -5,2 +5,4 @@ ## anothersequencer | ||
`npm i anothersequencer` | ||
Usage: | ||
@@ -7,0 +9,0 @@ ``` |
@@ -118,4 +118,4 @@ //Simple script sequencer | ||
if(typeof o === 'function') { | ||
if(o.constructor.name == 'AsyncFunction') await o(previousResult); | ||
else result = o(previousResult); //can just shove functions into the sequencer | ||
if(o.constructor.name == 'AsyncFunction') previousResult = await o(previousResult); //if the functions are in a basic sequence this passes results along | ||
else previousResult = o(previousResult); //can just shove functions into the sequencer | ||
@@ -122,0 +122,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
45856
5
88
3