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.27.2 vendor/node_modules/debug/example/worker.js
stylus-source-0.27.1 vendor/node_modules/debug/example/worker.js
stylus-source-0.27.0 vendor/node_modules/debug/example/worker.js
stylus-source-0.26.1 vendor/node_modules/debug/example/worker.js
stylus-source-0.26.0 vendor/node_modules/debug/example/worker.js
stylus-source-0.25.0 vendor/node_modules/debug/example/worker.js
stylus-source-0.24.0 vendor/node_modules/debug/example/worker.js