[−][src]Function hm::send_tasks_off_to_college
pub fn send_tasks_off_to_college(
mo: &ManagedObject,
tx: &Sender<Worker>,
p: ProgressBar
) -> Result<(), Error>
Take a ManagedObject task, an mpsc tx, and a Progressbar. Execute task and regularly inform the rx
(all the way over back in main()
)about our status using config::Worker.
TODO: allow the verbose
bool to show the output of the tasks as they go.
Return () or io::Error (something went wrong in our task).