26
// each entry point that uses it. Essentially, get it from the dependency graph instead of calling this method, unless
27
// you're in a test.
29
>
return &MutableTaskCategoryRegistry{
30
>
categories: map[int]Category{
31
>
CategoryTransfer.ID(): CategoryTransfer,
32
>
CategoryTimer.ID(): CategoryTimer,
33
>
CategoryVisibility.ID(): CategoryVisibility,
34
>
CategoryReplication.ID(): CategoryReplication,
35
>
CategoryMemoryTimer.ID(): CategoryMemoryTimer,
36
>
CategoryOutbound.ID(): CategoryOutbound,
37
>
},
38
>
}
39
>
}
40
41
// AddCategory register a Category with the registry or panics if a Category with the same ID has already been