diff options
Diffstat (limited to 'app/client/system')
| -rw-r--r-- | app/client/system/system.component.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/client/system/system.component.js b/app/client/system/system.component.js index 216c7cc..aaa10d6 100644 --- a/app/client/system/system.component.js +++ b/app/client/system/system.component.js @@ -30,6 +30,13 @@ const live_test_task = { epochs: 1, opt: {} } +const wait_test_task = { + activity: 'wait', + module: 'test', + dataset: 'test', + epochs: 1, + opt: {} +} const fruits = ["apple","pear","orange","strawberry"] function choice(a){ return a[Math.floor(Math.random()*a.length)]} @@ -105,6 +112,9 @@ class System extends Component { <Param title=''> <button onClick={() => actions.system.enqueue_test_task(choice(fruits))}>+Add</button> </Param> + <Param title=''> + <button onClick={() => actions.queue.start_task(wait_test_task, { preempt: true, watch: true })}>Wait and Buzz</button> + </Param> </Group> </div> {this.renderCommandOutput()} |
