scoped-threadpool-rs
scoped-threadpool-rs copied to clipboard
Add a way to return the result of a job back into the scope
I think that a good way that don't interfere with the asynchronous computation is using a Future, like the one implented in eventual.
(Because what I understand is to find a way to get the return value of the closure executed in the execute method)