Custom Threads handler
knassar702 opened this issue · 1 comments
knassar702 commented
we can create custom functions/class to handle threads to avoid writing duplicating code
for example instead of using stream::iter
every time with custom scope, we can use something like create_thread()
async fn create_thread(input: Vec<String> , target_func: fn(url), callback: fn(out)) {
// a few threading lines
}
knassar702 commented
working on