blob: 5ee030a0c82acafdf284d122d8a5e2ba726bab24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
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 list_checkpoints = () => {
socket.list_checkpoints()
return { type: 'LOADING_CHECKPOINTS', }
}
export const list_sequences = () => {
socket.list_sequences()
return { type: 'LOADING_SEQUENCES', }
}
|