Retrieve process links and information
Creates a complete overview of process stats based on the given pid.
pid
@spec info(pid :: pid()) :: :undefined | map()
@spec state(pid :: pid()) :: {:ok, any()} | {:error, String.t()}