Skip to content

Commit 267cb18

Browse files
committed
fixup! Add support for worker state callbacks
1 parent 06a4e65 commit 267cb18

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/cluster.jl

+4
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,11 @@ you do this).
955955
"""
956956
add_worker_starting_callback(f::Base.Callable; key=nothing) = _add_callback(f, key, worker_starting_callbacks;
957957
arg_types=Tuple{ClusterManager, Dict})
958+
"""
959+
remove_worker_starting_callback(key)
958960
961+
Remove the callback for `key` that was added with [`add_worker_starting_callback()`](@ref).
962+
"""
959963
remove_worker_starting_callback(key) = _remove_callback(key, worker_starting_callbacks)
960964

961965
"""

0 commit comments

Comments
 (0)