4.1.52 node_of_site(Site, OnlyConnected)

-spec node_of_site(site(), boolean()) -> {ok,
                                          node()} |
                                         {error,
                                          {unknown_node |
                                           disconnected,
                                           site()}}.

Locate a node that is currently hosting a site.

If OnlyConnected flag is set, undefined is returned when the site is locally unreachable (even if its node is otherwise known).

JavaScript license information