Open
Description
We have an older Client.register_worker_callbacks
system for allowing users to specify a setup function to be run when workers are started. However this system was replaced with the more generic worker plugin system in #2453. Today, Client.register_worker_callbacks
is actually implemented using our worker plugin system:
distributed/distributed/client.py
Lines 4565 to 4583 in d0a93e9
Deprecating worker callbacks was part of the original plan when the worker plugin system was introduced, I think we just never got around to it. Opening an issue to track deprecating Client.register_worker_callbacks
in favor of Client.register_worker_plugin