From 5eda4dc6048507cef05907f3abe8033c2752ba27 Mon Sep 17 00:00:00 2001 From: kristofka Date: Fri, 6 Jan 2023 14:31:43 +0100 Subject: [PATCH] Fixes typespecs for Spear.read_stream/3 (#81) --- lib/spear.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spear.ex b/lib/spear.ex index 14dd88d..34a21fa 100644 --- a/lib/spear.ex +++ b/lib/spear.ex @@ -306,7 +306,7 @@ defmodule Spear do """ @doc since: "0.1.0" @doc api: :streams - @spec read_stream(Spear.Connection.t(), String.t(), Keyword.t()) :: + @spec read_stream(Spear.Connection.t(), String.t() | :all, Keyword.t()) :: {:ok, event_stream :: Enumerable.t()} | {:error, any()} def read_stream(connection, stream_name, opts \\ []) do default_read_opts = [