mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-15 09:11:28 +10:00
feat(downloads): Pausing and resuming game downloads
Signed-off-by: quexeky <git@quexeky.dev>
This commit is contained in:
@ -1,9 +1,11 @@
|
||||
/*
|
||||
use atomic_counter::RelaxedCounter;
|
||||
|
||||
use crate::downloads::progress::ProgressChecker;
|
||||
use std::sync::atomic::AtomicBool;
|
||||
use std::sync::Arc;
|
||||
|
||||
|
||||
#[test]
|
||||
fn test_progress_sequentially() {
|
||||
let counter = Arc::new(RelaxedCounter::new(0));
|
||||
@ -23,3 +25,5 @@ fn test_progress_parallel() {
|
||||
fn test_fn(int: usize, _callback: Arc<AtomicBool>, _counter: Arc<RelaxedCounter>) {
|
||||
println!("{}", int);
|
||||
}
|
||||
|
||||
*/
|
||||
Reference in New Issue
Block a user