Anoma.Client.Examples.EStorage (Anoma v0.31.0)

Summary

Types

Link to this type

storage_result()

@type storage_result() :: [key: any(), value: any()]

Functions

Link to this function

overwrite_value(key \\ "key", value \\ "value")

@spec overwrite_value(any(), any()) :: storage_result()
Link to this function

read_absent(key \\ "key")

@spec read_absent(any()) :: storage_result()
Link to this function

read_absent_with_new_id(id \\ "id", key \\ "key")

@spec read_absent_with_new_id(any(), any()) :: storage_result()
Link to this function

read_in_future_and_fail(key \\ "key")

@spec read_in_future_and_fail(any()) :: storage_result()
Link to this function

read_overwritten_value(key \\ "key", value \\ "value")

@spec read_overwritten_value(any(), any()) :: storage_result()
Link to this function

read_value(key \\ "key", value \\ "value")

@spec read_value(any(), any()) :: storage_result()
Link to this function

read_value_with_new_id(id \\ "id", key \\ "key", value \\ "value")

@spec read_value_with_new_id(any(), any(), any()) :: storage_result()
Link to this function

read_value_with_old_id(id \\ "id", key \\ "key", value \\ "value")

@spec read_value_with_old_id(String.t(), any(), String.t()) :: storage_result()
Link to this function

write_value(key \\ "key", value \\ "value")

@spec write_value(any(), any()) :: storage_result()