Module tasks

Source
Expand description

Background tasks

Macros§

start_task 🔒

Enums§

FetchReply

Functions§

announce_seed_task
Background task that announces our files once every hour. Also removes seeders that did not announce for too long.
get_task
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.
node_id_task
Background task that:
put_task
Triggered when calling the fud.put() method.