Scenic.ViewPort.put_script
You're seeing just the function
put_script
, go back to Scenic.ViewPort module for more information.
Specs
put_script( viewport :: t(), name :: any(), script :: Scenic.Script.t(), opts :: Keyword.t() ) :: {:ok, non_neg_integer()} | {:error, atom()}
Put a script by name.
returns {:ok, id}