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