aboutsummaryrefslogtreecommitdiff
path: root/_example/streaming.aww
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-12-22 03:05:23 +0700
committerShulhan <ms@kilabit.info>2023-12-22 03:09:46 +0700
commit65c66728904a8a26fa8593cfe6a7d39e45c0ef1f (patch)
tree305795254aac3d52af173783479616c68012491b /_example/streaming.aww
parentaa64efe9e8957da6c122f9decaaa78dca83d14ee (diff)
downloadawwan-65c66728904a8a26fa8593cfe6a7d39e45c0ef1f.tar.xz
_wui: implement button to stop execution
The Stop button call "DELETE /awwan/api/execute?id=" with id is the previous execution ID. Implements: https://todo.sr.ht/~shulhan/awwan/9
Diffstat (limited to '_example/streaming.aww')
-rw-r--r--_example/streaming.aww1
1 files changed, 1 insertions, 0 deletions
diff --git a/_example/streaming.aww b/_example/streaming.aww
index b4e0e66..033a36c 100644
--- a/_example/streaming.aww
+++ b/_example/streaming.aww
@@ -7,3 +7,4 @@ sleep 3
echo "command #4"
sleep 3
echo "completed"
+sleep 300