@squirrel-forge/node-taskrunner

1.0.0 • Public • Published

@squirrel-forge/node-taskrunner

Task runner and task class for sequential and parallel processing.

Installation

npm i @squirrel-forge/node-taskrunner

Usage

const { Task, TaskRunner } = require( '@squirrel-forge/node-taskrunner' );

Classes

  • Task( runner, options, defaults )
    • runner : TaskRunner
    • timer : Timer
    • stats( obj )
    • run()
  • TaskRunner( strict, notify, parser )
    • error( exception )
    • register( name, constructor, replace )
    • getTaskConstructor( name )
    • parallel( array )
    • sequence( obj )
    • task( data )
    • run( map )

Docs

Check the sourcecode on github for extensive comments.

Package Sidebar

Install

npm i @squirrel-forge/node-taskrunner

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

17 kB

Total Files

8

Last publish

Collaborators

  • dasiux