diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-01 03:59:25 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-01 03:59:25 +0200 |
| commit | dbbeffd02629209f42affe3fb4bb4c46639ba0e3 (patch) | |
| tree | fbd15c10cd5303eaaccbf0162401424209b684e6 /app/client/task/task.actions.js | |
| parent | 964ac7009e6db5a06233bdc07fa63778eebf2db7 (diff) | |
remote IPC... done so sweetly, with promises and async
Diffstat (limited to 'app/client/task/task.actions.js')
| -rw-r--r-- | app/client/task/task.actions.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/app/client/task/task.actions.js b/app/client/task/task.actions.js deleted file mode 100644 index 7ede36d..0000000 --- a/app/client/task/task.actions.js +++ /dev/null @@ -1,14 +0,0 @@ -import socket from '../socket' -import types from '../types' - -export const start_task = (task, opt={}) => { - console.log('boo') - socket.task.start_task(task, opt) - console.log('zoo') - return { type: types.task.starting_task, task, ...opt } -} - -export const stop_task = (task, opt={}) => { - socket.task.stop_task(task, opt) - return { type: types.task.stopping_task, task, ...opt } -} |
