summaryrefslogtreecommitdiff
path: root/lib/worker
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-07-07 18:43:24 +0200
committerJules Laplace <julescarbon@gmail.com>2017-07-07 18:43:24 +0200
commitb89147ecd38b0f95a2e4917aba7f44bf3bb70327 (patch)
tree554d0d726755c89e55dbe79f0339cceb13543dd5 /lib/worker
parentd520c67839724e80d8b68b8fe933f1e7755a8f42 (diff)
refactor audioplayer
Diffstat (limited to 'lib/worker')
-rw-r--r--lib/worker/index.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/worker/index.js b/lib/worker/index.js
index 604756b..52f12e2 100644
--- a/lib/worker/index.js
+++ b/lib/worker/index.js
@@ -29,4 +29,7 @@ ipc.connectTo('cortex', () => {
ipc.of.cortex.on('job', (data) => {
ipc.log('received job: '.debug, data);
})
+ ipc.of.cortex.on('task', (data) => {
+ ipc.log('received task: '.debug, data);
+ })
})