Open
Description
Allowing synchronous and asynchronous SchedulerPlugin.{add|remove}_worker
hooks makes it harder to reason about their execution order (related: #8486). I'm unaware of asynchronous hooks used in practice, so I propose deprecating these. Should there be any legitimate use cases, we can introduce an asynchronous after_{add|remove}_worker
hook that would allow strict ordering.