Skip to content

Commit

Permalink
Merge pull request #278 from Mayeu/fix/typespec
Browse files Browse the repository at this point in the history
fix: type Finch.request_opt() was missing the :request_timeout option
  • Loading branch information
sneako authored Jul 23, 2024
2 parents 49433a1 + 4f602d1 commit 047a417
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/finch.ex
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,10 @@ defmodule Finch do

@type scheme_host_port() :: {scheme(), host :: String.t(), port :: :inet.port_number()}

@type request_opt() :: {:pool_timeout, timeout()} | {:receive_timeout, timeout()}
@type request_opt() ::
{:pool_timeout, timeout()}
| {:receive_timeout, timeout()}
| {:request_timeout, timeout()}

@typedoc """
Options used by request functions.
Expand Down

0 comments on commit 047a417

Please sign in to comment.