We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7759cbc commit 5171d57Copy full SHA for 5171d57
lib/scenic/view_port.ex
@@ -236,7 +236,7 @@ defmodule Scenic.ViewPort do
236
@doc """
237
Retrieve a %ViewPort{} struct given just the viewport's pid
238
"""
239
- @spec info(pid :: ViewPort.t() | GenServer.server()) :: map
+ @spec info(pid :: ViewPort.t() | GenServer.server()) :: {:ok, map}
240
def info(%ViewPort{pid: pid}), do: info(pid)
241
242
def info(pid) when is_pid(pid) or is_atom(pid) do
0 commit comments