The Wayback Machine - https://web.archive.org/web/20201030181545/https://github.com/AlloyTeam/AlloyFlow
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Install

npm install alloyflow

Usage

flow of time

var alloyFlow = new AlloyFlow({
    workflow: [
        {
            work: function () { },
            start: 0
        },{
            work: function () { },
            start: 1500
        },{
            work: function () { },
            start: [720, 1000, 400, 6000]
        }
    ]
});

alloyFlow.start();

flow of task

 var alloyFlow = new AlloyFlow({
    workflow: [
        function () {
            alloyFlow.next("msg");
        },
        function (msg) {
            alloyFlow.next("msg", 2000);
        },
        function (msg) {
            
        }
    ]
});

alloyFlow.start();

Many thanks to

transformjs

Who is using AlloyFlow?

preview

License

This content is released under the MIT License.

About

made workflow simple

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.