exd_streams v0.0.2 ExdStreams.Streaming.StreamStore behaviour

A behaviour for key-value based state stores

Link to this section Summary

Callbacks

Adds a record to stream

Reads one or more from stream as a consumer in group

Link to this section Callbacks

Link to this callback

add(arg0)
add(Exd.Query.t()) :: {:ok, map()}

Adds a record to stream

Link to this callback

read(arg0)
read(Exd.Query.t()) :: {:ok, map()}

Reads one or more from stream as a consumer in group