diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-21 18:36:36 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-21 18:36:36 +0200 |
| commit | 71f3bffcd69b5aad4319b1362cf35c8efd51bc10 (patch) | |
| tree | 2375dbed44d09f37f057354935ea9043b44028f3 /app/client/live/actions.js | |
| parent | 4bc41e2c2a8b3fc8b22226a7f3ec6cc1e1a275b6 (diff) | |
wooooord
Diffstat (limited to 'app/client/live/actions.js')
| -rw-r--r-- | app/client/live/actions.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/client/live/actions.js b/app/client/live/actions.js index 026788d..eb0a2ff 100644 --- a/app/client/live/actions.js +++ b/app/client/live/actions.js @@ -25,3 +25,13 @@ export const list_sequences = () => { socket.list_sequences() return { type: 'LOADING_SEQUENCES', } } + +export const load_sequence = (sequence) => { + socket.load_sequence(sequence) + return { type: 'LOADING_SEQUENCE', } +} + +export const load_epoch = (checkpoint, epoch) => { + socket.load_epoch(checkpoint, epoch) + return { type: 'LOADING_CHECKPOINT', } +} |
