pub async fn get_task(fud: Arc<Fud>) -> Result<()>
Expand description
Triggered when calling the fud.get()
method.
It creates a new StoppableTask (running fud.fetch_resource()
) and inserts
it into the fud.fetch_tasks
hashmap. When the task is stopped it’s
removed from the hashmap.