Sha256: 7582b43d7164eae91d25ef6ce35e9a09ade2729546d067dfc9bbcfb8b37f2053

Contents?: true

Size: 429 Bytes

Versions: 27

Compression:

Stored size: 429 Bytes

Contents

// DEBUG=* node example/worker
// DEBUG=worker:* node example/worker
// DEBUG=worker:a node example/worker
// DEBUG=worker:b node example/worker

var a = require('../')('worker:a')
  , b = require('../')('worker:b');

function work() {
  a('doing lots of uninteresting work');
  setTimeout(work, Math.random() * 1000);
}

work();

function workb() {
  b('doing some work');
  setTimeout(workb, Math.random() * 2000);
}

workb();

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
stylus-source-0.38.0 vendor/node_modules/debug/example/worker.js
stylus-source-0.37.0 vendor/node_modules/debug/example/worker.js
stylus-source-0.36.1 vendor/node_modules/debug/example/worker.js
stylus-source-0.36.0 vendor/node_modules/debug/example/worker.js
stylus-source-0.35.1 vendor/node_modules/debug/example/worker.js
stylus-source-0.35.0 vendor/node_modules/debug/example/worker.js
stylus-source-0.34.1 vendor/node_modules/debug/example/worker.js
stylus-source-0.34.0 vendor/node_modules/debug/example/worker.js
stylus-source-0.33.1 vendor/node_modules/debug/example/worker.js
stylus-source-0.33.0 vendor/node_modules/debug/example/worker.js
stylus-source-0.32.1 vendor/node_modules/debug/example/worker.js
stylus-source-0.32.0 vendor/node_modules/debug/example/worker.js
stylus-source-0.31.0 vendor/node_modules/debug/example/worker.js
stylus-source-0.30.1 vendor/node_modules/debug/example/worker.js
stylus-source-0.30.0 vendor/node_modules/debug/example/worker.js
iron_worker_ng-0.10.1 iron_worker_examples/binary/phantom-nodejs/node_modules/phantom/node_modules/express/node_modules/debug/example/worker.js
stylus-source-0.29.0 vendor/node_modules/debug/example/worker.js
stylus-source-0.28.2 vendor/node_modules/debug/example/worker.js
stylus-source-0.28.1 vendor/node_modules/debug/example/worker.js
stylus-source-0.28.0 vendor/node_modules/debug/example/worker.js