Skip to content

Polymer mixin to process batches of tasks sorted by priority.

License

Notifications You must be signed in to change notification settings

oolymer/oo-worker

Repository files navigation

oo-worker

Travis Build MIT License Polymer 2

Polymer mixin to process batches of tasks sorted by priority.

Table of Contents:

Features (to be implemented)

What can should do:

  • add new tasks to the worker (these tasks are used for conditional templating)
  • sort the tasks and partition then into batches.
  • define a trigger that starts processing the tasks
  • hold a status, and a trigger that stops processing these tasks
  • define a context where tasks or task batches are executed

Usage

$ bower install --save oolymer/oo-worker
<link rel="import" href="../oo-worker/oo-worker.html">

<oo-worker></oo-worker>

Contribute

Develop.

$ npm install
$ bower install --force-latest
$ npm run build:node:watch
$ npm run test:node:watch
$ npm run browser

Semantic versions.

  • Version number format MAJOR.MINOR.PATCH, e.g. "1.5.3".
  • Increase MAJOR for breaking changes.
  • Increase MINOR for new features.
  • Increase PATCH for bug fixes.