diff --git a/Cargo.toml b/Cargo.toml index c2d528f..bc49403 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "flowync" -version = "2.0.5" +version = "2.0.6" authors = ["Ar37-rs "] edition = "2018" description = "A simple utility for multithreading a/synchronization" diff --git a/examples/main.rs b/examples/main.rs index a8e54c3..850badb 100644 --- a/examples/main.rs +++ b/examples/main.rs @@ -14,9 +14,9 @@ fn main() { // or handle.send_async(i).await; can be used from any multithreaded async runtime, // // Return error if the job is failure, for example: - if i >= 3 { - return handle.err("Err"); - } + // if i >= 3 { + // return handle.err("Err"); + // } } // And return ok if the job successfully completed. return handle.ok("Ok".to_string());