set abstract method

Future<T?> set(
  1. String? correlation_id,
  2. T? item
)

Sets a data item. If the data item exists it updates it, otherwise it create a new data item.

  • correlation_id (optional) transaction id to trace execution through call chain.
  • item a item to be set. Return (optional) Future that receives updated item Throw error.

Implementation

Future<T?> set(String? correlation_id, T? item);