From 267cb187d143276830e3e6c073c0d5cb19fa8aec Mon Sep 17 00:00:00 2001 From: JamesWrigley Date: Thu, 2 Jan 2025 23:14:42 +0100 Subject: [PATCH] fixup! Add support for worker state callbacks --- src/cluster.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cluster.jl b/src/cluster.jl index f5e5a27..c0d616e 100644 --- a/src/cluster.jl +++ b/src/cluster.jl @@ -955,7 +955,11 @@ you do this). """ add_worker_starting_callback(f::Base.Callable; key=nothing) = _add_callback(f, key, worker_starting_callbacks; arg_types=Tuple{ClusterManager, Dict}) +""" + remove_worker_starting_callback(key) +Remove the callback for `key` that was added with [`add_worker_starting_callback()`](@ref). +""" remove_worker_starting_callback(key) = _remove_callback(key, worker_starting_callbacks) """