Skip to content

Commit

Permalink
Fixes typespecs for Spear.read_stream/3 (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
kristofka authored Jan 6, 2023
1 parent 1e5439e commit 5eda4dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/spear.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit 5eda4dc

Please sign in to comment.