git ssb

0+

cel-desktop / ssb-pkg



Tree: e9d9dec1d00ff365112ca0f981bbda15e3682528

Files: e9d9dec1d00ff365112ca0f981bbda15e3682528 / test / test-79-npm / tiny-worker / tiny-worker.js

204 bytesRaw
1'use strict';
2
3var Worker = require('tiny-worker');
4var worker = new Worker('fixture.js');
5
6worker.onmessage = function (ev) {
7 console.log(ev.data);
8 worker.terminate();
9};
10
11worker.postMessage('ok?');
12

Built with git-ssb-web