Avrora.Storage.Memory.put

You're seeing just the function put, go back to Avrora.Storage.Memory module for more information.

Store schema by key. If value already exists it will be replaced.

Examples

iex> _ = Avrora.Storage.Memory.start_link()
iex> schema = %Avrora.Schema{id: nil, json: "{}"}
iex> Avrora.Storage.Memory.put("my-key", schema)
{:ok, %Avrora.Schema{id: nil, json: "{}"}}