ObserverWeb.Rpc (Observer Web v0.1.5)

This module will provide rpc abstraction

Summary

Functions

Run the passed commands and link the process with the genserver calling gen_server for supervision

Call :rpc.pinfo to request process information (local or remote pid)

Functions

call(node, module, function, args, timeout)

@spec call(
  node :: atom(),
  module :: module(),
  function :: atom(),
  args :: list(),
  timeout :: 0..4_294_967_295 | :infinity
) :: any() | {:badrpc, any()}

Run the passed commands and link the process with the genserver calling gen_server for supervision

pinfo(pid, information)

@spec pinfo(pid :: pid(), information :: list() | atom()) :: any() | :undefined

Call :rpc.pinfo to request process information (local or remote pid)

Location transparent version of the BIF :erlang.process_info/2

https://www.erlang.org/doc/apps/kernel/rpc.html#pinfo/1