Scenic.Component.handle_put
You're seeing just the callback
handle_put
, go back to Scenic.Component module for more information.
Specs
handle_put(data :: any(), from :: GenServer.from(), scene :: Scenic.Scene.t()) :: {:reply, reply, new_state} | {:reply, reply, new_state, timeout() | :hibernate | {:continue, term()}} | {:noreply, new_state} | {:noreply, new_state, timeout() | :hibernate | {:continue, term()}} | {:stop, reason, reply, new_state} | {:stop, reason, new_state} when reply: term(), new_state: term(), reason: term()
Retrieve the current "value" associated with the control and return it to the caller.
If this callback is not implemented, the caller with get an {:error, :not_implemented}.