Skip to content

Commit

Permalink
fix: type Finch.request_opt() was missing the :request_timeout option
Browse files Browse the repository at this point in the history
  • Loading branch information
Mayeu committed Jul 20, 2024
1 parent 49433a1 commit 4f602d1
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 4f602d1

Please sign in to comment.