-
-
Notifications
You must be signed in to change notification settings - Fork 74
Closed
Description
Currently the names of tasks are inferred from the names of scheduled functions or callables through reflexion. In the code I'm experimenting with most of the tasks are closures or some mockups, so they either end up with with names like #242
or they all have the same name.
I think that for visualization and debugging it would be very useful to be able to assign programmatically a human readable name
I'd appreciate if something like this was possible:
a = Dagger.@spawn name="taskA" mockup_job(x,y,z)
b = Dagger.@spawn name="taskB" mockup_job(u,v,w)
c = Dagger.@spawn name="taskC" mockup_job(a,b)
so in the logs and visualization the taks could appear as taskA
, taskB
, taskC
instead of mockup_job
, mockup_job
, mockup_job