trimeter icon indicating copy to clipboard operation
trimeter copied to clipboard

Can we give tasks meaningful names for debugging?

Open njsmith opened this issue 7 years ago • 0 comments

Right now they're all named worker, which is pretty useless.

In run_on_each, we could easily name them like f"{async_fn.__name__} #{index}", which seems reasonable.

But that wouldn't help run_all, where you really want to pass down each individual callable's name somehow... maybe run_on_each should have an option to explicitly override the names?

Though probably we need to figure out what the actual public APIs are (#3) before worrying about this too much.

njsmith avatar Oct 07 '18 15:10 njsmith