Module clique_nodes

Function Index

init/0
nodes/0
register/1
safe_rpc/4Wraps an rpc:call/4 in a try/catch to handle the case where the 'rex' process is not running on the remote node.
teardown/0

Function Details

init/0

init() -> any()

nodes/0

nodes() -> [node()]

register/1

register(Fun::function()) -> true

safe_rpc/4

safe_rpc(Node::node(), Module::atom(), Function::atom(), Args::[any()]) -> {badrpc, any()} | any()

Wraps an rpc:call/4 in a try/catch to handle the case where the 'rex' process is not running on the remote node. This is safe in the sense that it won't crash the calling process if the rex process is down.

teardown/0

teardown() -> ok


Generated by EDoc