diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-09-20 02:52:55 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-09-20 02:52:55 +0200 |
| commit | 3c9ccd38751501bbf5b9cd2c54dee370681fdb5b (patch) | |
| tree | 31464fe818770550bd71edca8b91aed1eb708240 /app/client/socket/socket.actions.js | |
| parent | 19adbf48642085f39b9562ea6ad1e248a546373c (diff) | |
stub file viewer
Diffstat (limited to 'app/client/socket/socket.actions.js')
| -rw-r--r-- | app/client/socket/socket.actions.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/client/socket/socket.actions.js b/app/client/socket/socket.actions.js index b80a0fa..4bae3b3 100644 --- a/app/client/socket/socket.actions.js +++ b/app/client/socket/socket.actions.js @@ -8,6 +8,7 @@ export const count_directory = opt => syscall_async('count_directory', opt).t export const list_sequences = opt => syscall_async('list_sequences', opt).then(res => res.sequences) export const run_script = opt => syscall_async('run_script', opt) export const upload_file = opt => syscall_async('upload_file', opt) +export const read_file = opt => syscall_async('read_file', opt) export const syscall_async = (tag, payload, ttl=10000) => { ttl = payload.ttl || ttl |
