mirror of
https://github.com/danbulant/cushy
synced 2026-06-17 13:31:07 +00:00
Renamed example
Also fixed a comment I missed updating
This commit is contained in:
parent
956e4109f9
commit
55b43cb4aa
1 changed files with 2 additions and 2 deletions
|
|
@ -22,8 +22,8 @@ fn background_task(progress_a: Dynamic<u8>, progress_b: Dynamic<u8>) {
|
|||
InvalidationBatch::batch(|_batch| {
|
||||
// This set of operations has a net effect of incrementing
|
||||
// progress_a, and adding 5 to progress_b. But the operations are
|
||||
// are done by first adding double the amount, waiting for a bit,
|
||||
// then subtracting to get back to the desired loop behavior.
|
||||
// are done by incrementing by ones and twos over the course of
|
||||
// 200ms.
|
||||
//
|
||||
// This is a convoluted way to simulate having a complex operation
|
||||
// in a background thread that a user wishes to synchronize the user
|
||||
Loading…
Reference in a new issue