OT.Server v0.2.0 OT.Server.Impl View Source

Link to this section Summary

Functions

Get a datum using the configured OT.Server.Adapter

Submit an operation using the configured OT.Server.Adapter, transforming it against concurrent operations, if necessary

Link to this section Functions

Link to this function get_datum(id) View Source
get_datum(OT.Server.datum_id) ::
  {:ok, OT.Server.datum} |
  {:error, any}

Get a datum using the configured OT.Server.Adapter.

Link to this function submit_operation(datum_id, op_vsn, op_meta, retries \\ 0) View Source
submit_operation(OT.Server.datum_id, OT.Server.operation_info, any, non_neg_integer) ::
  {:ok, OT.Server.operation} |
  {:error, any}

Submit an operation using the configured OT.Server.Adapter, transforming it against concurrent operations, if necessary.