Skip to content

borg/Task: Remove TaskKind and replace with TypeId checks

Fina Wilke requested to merge fina/remove-task-kind into main

I have found a way to be able to not require the task::Kind enum by replacing it with std::any::TypeId checks. Now I feel very clever 😅

I introduced this enum to differentiate between tasks for better cancel dialogs.

Edited by Fina Wilke

Merge request reports