View Source partisan_rpc (partisan v5.0.0-rc.8)

Summary

Types

-type error_reason() :: timeout | any().

Functions

Link to this function

call(Node, Module, Function, Arguments)

View Source
-spec call(Node :: node(), Module :: module(), Function :: atom(), Arguments :: [any()]) ->
        Reply :: any() | {badrpc, error_reason()}.
Link to this function

call(Node, Module, Function, Arguments, Timeout)

View Source
-spec call(Node :: node(),
     Module :: module(),
     Function :: atom(),
     Arguments :: [any()],
     Timeout :: timeout() | partisan_peer_service_manager:forward_opts()) ->
        Reply :: any() | {badrpc, error_reason()}.
-spec prepare_opts(list() | map()) -> map().