Kvasir.Storage behaviour (kvasir v0.0.8) View Source
Link to this section Summary
Link to this section Callbacks
Specs
Specs
contains?(name :: atom(), Kvasir.topic(), Kvasir.Offset.t()) :: :maybe | true | false
Specs
freeze(name :: atom(), Kvasir.Topic.t(), event :: map()) :: :ok | {:error, atom()}
Specs
offsets(name :: atom(), Kvasir.topic()) :: {:ok, Kvasir.Offset.t()} | {:error, atom()}
Specs
stream(name :: atom(), Kvasir.topic()) :: {:ok, Stream.t()} | {:error, atom()}