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