4.1.26 post_join(Hook, Prio)

-spec post_join(fun((cluster_id(), Local,
                     JoinedTo, join_intent()) -> _),
                classy_hook:conf()) -> classy_hook:hook() when Local ::
                                                                   site(),
                                                               JoinedTo ::
                                                                   node().

Register a hook that is executed after the local site joins a cluster.

It is guaranteed to be called at least once, and must be idempotent.

JavaScript license information