wip: more work on scheduler
This commit is contained in:
1 parent
5c3dc0a874
commit
1cd5e69712
6 files changed
+140
-109
No files matched your search
+1
-1
@@ -28,7 +28,7 @@ pub static App: FC<()> = |cx| {
|
||||
}
|
||||
button {
|
||||
"Start counting"
|
||||
onclick: move |_| task.start()
|
||||
onclick: move |_| task.resume()
|
||||
}
|
||||
button {
|
||||
"Switch counting direcion"
|
||||
|
||||
@@ -47,7 +47,7 @@ pub static Example: FC<()> = |cx| {
|
||||
}
|
||||
button {
|
||||
"Start counting"
|
||||
onclick: move |_| task.start()
|
||||
onclick: move |_| task.resume()
|
||||
}
|
||||
button {
|
||||
"Switch counting direcion"
|
||||
|
||||
Reference in new issue
Block a user