summaryrefslogtreecommitdiff
path: root/app/client/live/actions.js
blob: bde954b3f40f0e016e9bbc9a0e518692b6248107 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import * as socket from '../socket'

export const get_params = () => {
  socket.get_params()
  return { type: 'GET_PARAMS', }
}

export const set_param = (key, value) => {
  console.log('set param', key, value)
  socket.set_param(key, value)
  return { type: 'SET_PARAM', key, value, }
}

export const get_checkpoints = () => {
  return { type: 'GET_CHECKPOINTS', }
}