diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-12-18 21:13:05 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-12-18 21:13:05 +0100 |
| commit | fe8ab6133a31284d94944f5d75da9d6ad2b2bdb9 (patch) | |
| tree | 6b73b14bd88b64868d776b481d2aca0feb453c9c /app/client/modules/biggan/biggan.tasks.js | |
| parent | 3a432e15399bd756cdeef376b46ae2968559790c (diff) | |
adding biggan
Diffstat (limited to 'app/client/modules/biggan/biggan.tasks.js')
| -rw-r--r-- | app/client/modules/biggan/biggan.tasks.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app/client/modules/biggan/biggan.tasks.js b/app/client/modules/biggan/biggan.tasks.js new file mode 100644 index 0000000..827add5 --- /dev/null +++ b/app/client/modules/biggan/biggan.tasks.js @@ -0,0 +1,20 @@ +import uuidv1 from 'uuid/v1' + +import socket from '../../socket' +import types from '../../types' + +import actions from '../../actions' + +import module from './biggan.module' + +export const live_task = (opt) => dispatch => { + const task = { + module: module.name, + activity: 'live', + dataset: 'biggan', + opt + } + console.log(task) + console.log('add live task') + return actions.queue.add_task(task) +} |
