mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
sync.pool: simplify usages of pool.work_on_items
This commit is contained in:

committed by
GitHub

parent
9c1e50b1aa
commit
a8e45251c4
@ -45,5 +45,5 @@ fn main() {
|
||||
// cases is what you want anyway... You can override the automatic choice
|
||||
// by setting the VJOBS environment variable too.
|
||||
// fetcher_pool.set_max_jobs( 4 )
|
||||
fetcher_pool.work_on_items<int>(ids)
|
||||
fetcher_pool.work_on_items(ids)
|
||||
}
|
||||
|
Reference in New Issue
Block a user