Distribunator.Distributed.node_rpc
You're seeing just the macro
node_rpc
, go back to Distribunator.Distributed module for more information.
Specs
Perform an :rpc.call/4 on the first node having the current module registered on it.
Parameters
- mod The module atom to call the function on
- func The function atom to call
- args The argument list to function
- callback The callback to call during rpc invocation after the target function returns but before the rpc call returns. Can be nil.
Returns
{:badrpc, reason}
RPC failed, for reason{:error, "no node"}
There were no nodes with name registered- any The result of
apply(mod, func, args)