Skip to content

Commit

Permalink
fixup! Add support for worker state callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesWrigley committed Jan 2, 2025
1 parent 06a4e65 commit 267cb18
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cluster.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)

"""
Expand Down

0 comments on commit 267cb18

Please sign in to comment.